Skip to content

Commit 33f65f2

Browse files
authored
Merge pull request #238 from schmouk/main
Main --> Dev
2 parents 7df48fc + 2fa67bf commit 33f65f2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+308
-195
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.html -linguist-detectable
2+
*.css -linguist-detectable
3+
*.js -linguist-detectable

README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
# Library cpp-strings
2-
[![license](http://img.shields.io/github/license/schmouk/cpp-strings.svg?style=plastic&labelColor=blueviolet&color=lightblue)](https://github.com/schmouk/cpprandlib/license) [![Latest release](http://img.shields.io/github/release/schmouk/cpp-strings.svg?style=plastic&labelColor=blueviolet&color=success)](https://github.com/schmouk/cpprandlib/releases) [![code_coverage](https://img.shields.io/badge/code_coverage-100%25-success?style=plastic&labelColor=blueviolet)]() [![tests](https://img.shields.io/badge/tests-passing-success?style=plastic&labelColor=blueviolet)]()
1+
<img src="banner-image.jpg" width="512" height="454" alt="Library banner">
32

4-
github repository: [https://github.com/schmouk/pythonic-cpp-strings](https://github.com/schmouk/pythonic-cpp-strings)
3+
[![license](http://img.shields.io/github/license/schmouk/pythonic-cpp-strings.svg?style=plastic&labelColor=blueviolet&color=lightblue)](https://github.com/schmouk/pythonic-cpp-strings/license) [![Latest release](http://img.shields.io/github/release/schmouk/pythonic-cpp-strings.svg?style=plastic&labelColor=blueviolet&color=success)](https://github.com/schmouk/pythonic-cpp-strings/releases) [![code_coverage](https://img.shields.io/badge/code_coverage-100%25-success?style=plastic&labelColor=blueviolet)]() [![tests](https://img.shields.io/badge/tests-passing-success?style=plastic&labelColor=blueviolet)]()
54

6-
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?
76

87
Let's just use c++ strings as are Python ones, with same API or as similar API as possible.
98
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
1211
* Class `pcs::CppString` specializes the templated class with `char` characters.
1312
* Class `pcs::CppWString` specializes the templated class with `wchar_t` characters.
1413

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**.
1617

1718
* directory `cpp-strings` contains the header file `cppstring.h`.
1819
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);
2930
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.
3031
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.
3132

33+
github repository: [https://github.com/schmouk/pythonic-cpp-strings](https://github.com/schmouk/pythonic-cpp-strings)
34+
pythonic-cpp-strings github web pages: [https://schmouk.github.io/pythonic-cpp-strings/](https://schmouk.github.io/pythonic-cpp-strings/)
35+
3236

3337
---
3438
## License
@@ -71,9 +75,9 @@ This `.cpp` file is a great place to see **cpp-strings** code in action. Each st
7175

7276

7377
---
74-
## Latest Release - Release 1.0 (1.0.0.224) 2025/07
78+
## Latest Release - Release 1.0 (1.0.2.232) 2025/07
7579

76-
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**.
7781

7882
This release has been fully tested. Code coverage is 100%.
7983

@@ -96,7 +100,7 @@ N.B. "*planned for a next release*" does not imply that a fixed date is planned
96100
---
97101
## Documentation
98102

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.
100104

101105
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)).
102106

_config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
theme: jekyll-theme-slate
2+
show_downloads: true
3+

banner-image.jpg

243 KB
Loading

cpp-strings/html/doxygen.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2442,7 +2442,7 @@ details[open]>summary::before {
24422442

24432443

24442444
html {
2445-
--timestamp: 'Wed Jul 16 2025'
2445+
--timestamp: 'Thu Jul 17 2025'
24462446
}
24472447
span.timestamp { content: ' '; }
24482448
span.timestamp:before { content: var(--timestamp); }

cpp-strings/html/doxygen_crawl.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,12 @@
150150
<a href="functions_func.html"/>
151151
<a href="hierarchy.html"/>
152152
<a href="index.html"/>
153-
<a href="index.html#autotoc_md2"/>
153+
<a href="index.html#autotoc_md1"/>
154154
<a href="index.html#autotoc_md3"/>
155-
<a href="index.html#autotoc_md5"/>
155+
<a href="index.html#autotoc_md4"/>
156+
<a href="index.html#autotoc_md6"/>
157+
<a href="index.html#autotoc_md7"/>
158+
<a href="index.html#autotoc_md9"/>
156159
<a href="namespacemembers.html"/>
157160
<a href="namespacemembers_func.html"/>
158161
<a href="namespacemembers_type.html"/>

0 commit comments

Comments
 (0)