static_string icon indicating copy to clipboard operation
static_string copied to clipboard

A fixed capacity dynamically sized string

Results 11 static_string issues
Sort by recently updated
recently updated
newest added

I don't see it in https://www.boost.org/doc/libs/1_85_0/libs/static_string/doc/html/static_string/ref/boost__static_strings__basic_static_string.html.

The other libraries reference "containers" instead of "container"

It's not clear to me why this wasn't true from the very beginning, and `git grep trivial` doesn't enlighten me. `=default` requires at least C++11, but then so does `noexcept`,...

(related: #55) @pdimov I ended up not using unnamed classes because clang required that they be "C compatible". Instead, I'm using the injected-class-name (which results in the same behavior).

`constexpr boost::static_strings::basic_static_string s( "name" );` fails to compile (under C++20): https://godbolt.org/z/fvPs3rxa7 Background: in order to write functions that take strings as template arguments, as in `function()`, one needs to declare...

Copies the layout of Boost.JSON (minus drone.io for the time being). The Azure badge looks a bit large here. We can do something about it if it's a problem.

Add Drone CI integration. All these files were generated by the new (still in-progress) CPPAlliance/droneconverter. ``` cd static_string ./droneconverter ```

I cannot find a way to do this, so I suppose it is a feature request (unless I miss something). I want to have a `static_string` allocated, then write some...

Feature

Current design doesn't guarantee anything about space occupied by `static_string`. User can't assume that `sizeof(basic_static_string) == (N+1) * sizeof(CharT)` (nor `sizeof(basic_static_string) == N * sizeof(CharT)` as `N` doesn't take final...

Feature

This is part of the effort to make the Boost libraries "modular" for build and consumption. See https://lists.boost.org/Archives/boost/2024/01/255704.php and https://github.com/grafikrobot/boost-b2-modular/blob/b2-modular/README.adoc for more information. This PR depends on the following other...