Skip to content

Releases: schmouk/pythonic-cpp-strings

Release v1.0.4 - 2025/10

22 Oct 13:15
b6f50c6

Choose a tag to compare

"What if c++ strings where as easy to use as Python strings?"

This is Release v1.0.4 of the pythonic c++ strings library cpp-strings.

Let's just use c++ strings as are Python ones, with same API or as similar API as possible.
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 Pythonic C++ Strings.

The templated class pcs::CppStringT<> defines all constructors and methods that implement the equivalent of Python strings API.
Class pcs::CppString specializes the templated class with char characters.
Class pcs::CppWString specializes the templated class with wchar_t characters.

cpp-strings is implemented with the currently most recent c++ standard available with gcc, clang and msvc c++ compilers, i.e. standard c++20.