String that points to a string literal. More...
#include <kanzi/core/string/fixed_string.hpp>
Public Member Functions | |
const char * | c_str () const |
Returns the pointer to string literal. | |
FixedString (const char *literal) | |
Constructor. | |
operator string_view () const | |
Friends | |
bool | operator== (const FixedString &left, const FixedString &right) |
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.
|
inline |
|
friend |