You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What if c++ strings where as easy to use as Python strings?
5
+
### What if c++ strings were as easy to use as Python strings?
7
6
8
7
Let's just use c++ strings as are Python ones, with same API or as similar API as possible.
9
8
Library **cpp-strings** is fully templated. Just download header file `cppstrings.h` and put it anywhere in your project. Notice: all of its stuff is declared and defined in namespace `pcs` - which stands for **P**ythonic **C**++ **S**trings.
@@ -12,7 +11,9 @@ Library **cpp-strings** is fully templated. Just download header file `cppstring
12
11
* Class `pcs::CppString` specializes the templated class with `char` characters.
13
12
* Class `pcs::CppWString` specializes the templated class with `wchar_t` characters.
14
13
15
-
**cpp-strings** is implemented with the currently most recent c++ standard available with gcc, clang and msvc c++ compilers, i.e. standard **c++20**.
14
+
The cpp-strings **HTML documentation** is available in subdirectory `cpp-strings/html`. Click on file `index.html` there from your local file manager to browse its content.
15
+
16
+
Library **cpp-strings** is implemented with the currently most recent c++ standard available with gcc, clang and msvc c++ compilers, i.e. standard **c++20**.
16
17
17
18
* directory `cpp-strings` contains the header file `cppstring.h`.
18
19
This is the header file to include in your projects.
@@ -29,6 +30,9 @@ or option `-std=c++2a` for clang and gcc (v. 9 and earlier);
29
30
If you want to run the unitary tests, well, use the last version of Visual Studio (i.e. VS 2022, by July 2025). The Community free version will truly be fine.
30
31
The vcproject associated with the unit tests in **cpp-strings** is already configured to use the option flag `/std:c++latest` since the implemented code uses a very few but very useful c++23 goodies.
The coding of this project started by March 2023 and had been put in standby mode for some months - no time to work on it. The very first release is now availble (since July 2025), as **Release 1.0**.
80
+
The coding of this project started by March 2023 and had been put in standby mode for some months - no time to work on it. The very first release is now availble (since July 2025), as **Release 1.0.2**.
77
81
78
82
This release has been fully tested. Code coverage is 100%.
79
83
@@ -96,7 +100,7 @@ N.B. "*planned for a next release*" does not imply that a fixed date is planned
96
100
---
97
101
## Documentation
98
102
99
-
The **cpp-strings** HTML documentation is available here: [html/index.html](html/index.html).
103
+
The **cpp-strings** HTML documentation is available in subdirectory `cpp-strings/html`. Click on file `index.html` there from your local file manager to browse its content.
100
104
101
105
It has then been produced with the great utility **doxygen** developed by Vicente Hernando (the doxygen Github repository can be accessed [here](https://github.com/doxygen/doxygen), and the utility can be downloaded from there: [https://www.doxygen.nl/download.html](https://www.doxygen.nl/download.html)).
0 commit comments