![]() |
Arene Base
Fundamental Utilities For Safety Critical C++
|
|
constexprnoexcept |
String literal operator to construct a string_view from an annotated string literal. This string_view operator is named "asv" (arene string view) to avoid any conflict with the sv operator in a third party code base.
| str | A pointer to the start of the string literal characters |
| len | The number of characters in the string literal |
string_view for the string literal
|
constexprnoexcept |
Literal helper for creating byte instances.
| value | The literal to cast to byte . |
to_byte(value) .
|
constexprnoexcept |
Construct a null-terminated string view from a string literal.
For example:
| str | Pointer to the string literal. |