template class mrpt::typemeta::string_literal¶
#include <mrpt/typemeta/static_string.h> template <int N> class string_literal { public: // construction string_literal(const char(&) lit [N+1]); // methods constexpr std::size_t size() const; constexpr char operator [] (int i) const; constexpr const char* c_str() const; constexpr operator const char * () const; operator std::string () const; };
Construction¶
string_literal(const char(&) lit [N+1])
Ctor from C string literal, with trailing zero.