muu/fixed_string.h file

Contains the definition of muu::fixed_string.

Namespaces

namespace muu
The root namespace for all muu functions and types.
namespace muu::literals inline
Literal operators.
namespace muu::build
Build environment information (compiler, date/time, support for various things...)

Classes

template <typename Character, size_t Length>
class muu::fixed_string
A null-terminated string for compile-time string manipulation.

Functions

template <impl::fixed_string_udl_impl Str>
auto operator""_fs() consteval
Constructs a fixed_string directly using a string literal.

Variables

bool supports_fixed_string_literals constexpr
Indicates whether muu::fixed_string string literals (e.g. "hello"_fs) are supported by the compiler.

Defines

#define MUU_HAS_FIXED_STRING_LITERALS
Indicates whether muu::fixed_string string literals (e.g. "hello"_fs) are supported by the compiler.