![]() |
ATLAS Offline Software
|
Helper structure to allow string literals to be passed as non-type template parameters. More...
#include <HexString.h>
Public Member Functions | |
| constexpr | FixedString (const char(&str)[N]) |
| Constructs a FixedString from a string literal. | |
| constexpr std::size_t | length () const |
| Gets the length of the string excluding the null terminator. | |
Public Attributes | |
| char | buf [N] {} |
| The internal character buffer. | |
Helper structure to allow string literals to be passed as non-type template parameters.
Not necessarily intended to be used directly.
| N | The length of the string array, including the null terminator. |
Definition at line 27 of file HexString.h.
|
inlineconstexpr |
Constructs a FixedString from a string literal.
| str | A reference to a character array (string literal). |
Definition at line 34 of file HexString.h.
|
inlineconstexpr |
Gets the length of the string excluding the null terminator.
Definition at line 41 of file HexString.h.
| char CxxUtils::detail::FixedString< N >::buf[N] {} |