String that points to a string literal.
More...
#include <kanzi/core/string/fixed_string.hpp>
String that points to a string literal.
You can use FixedString objects to indicate that a string will have the lifetime equal to the duration of the program. You should use the kzMakeFixedString macro to construct FixedString objects. Compilers with C++11 support will emit an error if the parameter you supply to kzMakeFixedString is not a string literal.
kanzi::FixedString::FixedString |
( |
const char * |
literal | ) |
|
|
inlineexplicit |
kanzi::FixedString::operator string_view |
( |
| ) |
const |
|
inline |
const char* kanzi::FixedString::c_str |
( |
| ) |
const |
|
inline |
Returns the pointer to string literal.
The documentation for this class was generated from the following file: