-
pystring
C++ functions matching the interface and behavior of python string methods with std::string
I've been using this for a number of years https://github.com/imageworks/pystring Works really well especially if you are used to python strings.
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
string-view-lite
string_view lite - A C++17-like string_view for C++98, C++11 and later in a single-file header-only library
There are plenty of polyfill libraries that exist for std features like this. I strongly recommend using an existing one that attempts to match the standard closely. For example this one.
Related posts
-
If you limit an std::string in a class to be < 15 characters, can you assume that any time the string is read it will stay on the stack due to SSO?
-
GitHub - martinus/svector: Small Vector optimization
-
C++ Return: std::any, std::optional, or std::variant?
-
Abusing C to Implement JSON Parsing with Struct Methods
-
C: Simple Defer, Ready to Use