fixed_string icon indicating copy to clipboard operation
fixed_string copied to clipboard

C++17 string with fixed size

Results 14 fixed_string issues
Sort by recently updated
recently updated
newest added

Suggested API: ```cpp // numeric conversions template constexpr int stoi(const fixed_string& str, int base = 10); template constexpr unsigned stou(const fixed_string& str, int base = 10); template constexpr long stol(const...

enhancement
good first issue
api

## API Reference * [x] Constructors * [x] `operator=` * [x] `at` * [x] `front` * [x] `back` * [x] `empty` * [x] `size` & `length` * [x] `max_size` *...

documentation
enhancement
help wanted
good first issue

Example: https://github.com/YACLib/YACLib/blob/main/.github/workflows/clang-format.yml

enhancement
good first issue
ci
code style

Using type aliases instead of inheritance makes it possible to generalize the algorithm templates for all specializations of fixstr::basic_fixed_string. For example (see also [p1406r1](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1406r1.pdf)): ```c++ namespace std { template struct...

Example from implementation of `basic_string_view` by Microsoft: https://github.com/microsoft/STL/blob/main/stl/inc/xstring#L1224-L1230

enhancement
good first issue

Clang-Tidy allows to specify code style settings in a config file, so `.idea` folder is redundant. Official docs: https://clang.llvm.org/extra/clang-tidy/checks/readability-identifier-naming.html Example config: https://github.com/YACLib/YACLib/blob/main/.clang-tidy

enhancement
good first issue
code style

Currently tests are placed in one file which is not very convenient. The proposed solution is to separate tests to files by some logical pieces: for example, a file per...

enhancement
good first issue
code style

It would be nice if you could make this class C++11-compatible. Many of us are stuck using older versions of the language standard... Obviously, this will mean some constexpr members...