|
using | hash_type_t = std::size_t |
|
|
template<hash_type_t N> |
constexpr | const_string_t (const char(&str)[N]) |
|
constexpr const char * | c_str () const |
|
constexpr hash_type_t | size () const |
|
constexpr char | operator[] (const hash_type_t i) const |
|
constexpr hash_type_t | hash () const |
|
constexpr bool | operator== (const const_string_t &t) const |
|
constexpr bool | operator!= (const const_string_t &t) const |
|
◆ const_string_t()
template<hash_type_t N>
constexpr flecsi::util::const_string_t::const_string_t |
( |
const char(&) |
str[N] | ) |
|
|
inline |
Construct a constexpr string.
- Parameters
-
◆ c_str()
constexpr const char* flecsi::util::const_string_t::c_str |
( |
| ) |
const |
|
inline |
◆ hash()
constexpr hash_type_t flecsi::util::const_string_t::hash |
( |
| ) |
const |
|
inline |
Return the hash for the string literal.
◆ operator[]()
constexpr char flecsi::util::const_string_t::operator[] |
( |
const hash_type_t |
i | ) |
const |
|
inline |
Array accessor to string literal.
◆ size()
constexpr hash_type_t flecsi::util::const_string_t::size |
( |
| ) |
const |
|
inline |
Return the size of the string literal.
The documentation for this class was generated from the following file: