Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

string with fixed but compile-time configurable capacity #53

Closed
FerdinandSpitzschnueffler opened this issue Feb 26, 2020 · 1 comment · Fixed by #74 or #61
Closed

string with fixed but compile-time configurable capacity #53

FerdinandSpitzschnueffler opened this issue Feb 26, 2020 · 1 comment · Fixed by #74 or #61
Assignees
Labels
enhancement New feature

Comments

@FerdinandSpitzschnueffler
Copy link
Contributor

Brief feature description

For a fine grained control of the size of strings in different parts of the project, a string with a fixed but compile-time configurable capacity is required. Furthermore, throwing exceptions or using heap is forbidden.

Detailed information

This can be achieved by integrating the new cxx::string which uses a template parameter for its capacity. It also provides a std::string compatible comparison which compares past the first '\0'.

@mossmaurice mossmaurice added the enhancement New feature label Feb 26, 2020
@mossmaurice
Copy link
Contributor

Part of #59 and #70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature
Projects
None yet
2 participants