Definition at line 23 of file static_string.h.
#include <mrpt/typemeta/static_string.h>
Public Member Functions | |
constexpr | string_literal (const char(&lit)[N+1]) |
Ctor from C string literal, with trailing zero. More... | |
constexpr std::size_t | size () const |
constexpr char | operator[] (int i) const |
constexpr const char * | c_str () const |
constexpr | operator const char * () const |
Private Attributes | |
const char(& | _lit )[N+1] |
|
inlineconstexpr |
Ctor from C string literal, with trailing zero.
Definition at line 29 of file static_string.h.
|
inlineconstexpr |
Definition at line 38 of file static_string.h.
References mrpt::typemeta::string_literal< N >::_lit.
Referenced by mrpt::typemeta::string_literal< N >::operator const char *().
|
inlineconstexpr |
Definition at line 39 of file static_string.h.
References mrpt::typemeta::string_literal< N >::c_str().
|
inlineconstexpr |
Definition at line 34 of file static_string.h.
References mrpt::typemeta::string_literal< N >::_lit, and MRPT_X_ASSERT.
|
inlineconstexpr |
Definition at line 33 of file static_string.h.
|
private |
Definition at line 25 of file static_string.h.
Referenced by mrpt::typemeta::string_literal< N >::c_str(), and mrpt::typemeta::string_literal< N >::operator[]().
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST |