|
constexpr | constexpr_str_t (const_string_ptr_t str, size_t size) |
|
constexpr | constexpr_str_t (const_string_ptr_t str) |
|
consteval | constexpr_str_t (const constexpr_str_t &str)=default |
|
constexpr hash_t | hash () const noexcept |
|
| constexpr_str_view_t (const_string_ptr_t str) noexcept=delete |
|
constexpr const_string_ptr_t | str () const noexcept |
|
constexpr const_string_ptr_t | data () const noexcept |
|
constexpr | operator const_string_ptr_t () const noexcept |
|
constexpr constexpr_str_view_t | substr (size_t pos, size_t len) const noexcept |
|
constexpr constexpr_str_view_t | substr (size_t pos) const noexcept |
|
constexpr constexpr_str_view_t | substr (size_t pos, const char_T *end) const noexcept |
|
constexpr constexpr_str_view_t | substr (const char_T *begin, size_t len) const noexcept |
|
constexpr constexpr_str_view_t | substr (const char_T *begin) const noexcept |
|
constexpr constexpr_str_view_t | substr (const char_T *begin, const char_T *end) const noexcept |
|
constexpr | string_view_t (const_string_ptr_t str) noexcept |
|
constexpr const char_T * | str () const noexcept |
|
constexpr const char_T * | data () const noexcept |
|
constexpr | operator const char_T * () const noexcept |
|
constexpr string_view_t | substr (size_t pos, size_t len) const noexcept |
|
constexpr string_view_t | substr (size_t pos) const noexcept |
|
constexpr string_view_t | substr (size_t pos, const char_T *end) const noexcept |
|
constexpr string_view_t | substr (const char_T *begin, size_t len) const noexcept |
|
constexpr string_view_t | substr (const char_T *begin) const noexcept |
|
constexpr string_view_t | substr (const char_T *begin, const char_T *end) const noexcept |
|
constexpr bool | starts_with (const char_T ch) const noexcept |
|
constexpr bool | starts_with (string_view_t str) const noexcept |
|
constexpr bool | starts_with (const char_T *str) const noexcept |
|
constexpr size_t | find (const char_T ch) const |
|
constexpr size_t | reverse_find (const char_T ch) const |
|
constexpr size_t | find (string_view_t str) const |
|
constexpr size_t | reverse_find (string_view_t str) const |
|
constexpr size_t | find (const constexpr_str_t< char_T > &str) const |
|
constexpr size_t | reverse_find (const constexpr_str_t< char_T > &str) const |
|
constexpr size_t | find_first_of (const char_T ch) const |
|
constexpr size_t | find_last_of (const char_T ch) const |
|
constexpr size_t | find_first_not_of (const char_T ch) const |
|
constexpr size_t | find_last_not_of (const char_T ch) const |
|
constexpr size_t | find_first_of (string_view_t str) const |
|
constexpr size_t | find_last_of (string_view_t str) const |
|
constexpr size_t | find_first_not_of (string_view_t str) const |
|
constexpr size_t | find_last_not_of (string_view_t str) const |
|
constexpr size_t | find_first_of (const constexpr_str_t< char_T > &str) const |
|
constexpr size_t | find_last_of (const constexpr_str_t< char_T > &str) const |
|
constexpr size_t | find_first_not_of (const constexpr_str_t< char_T > &str) const |
|
constexpr size_t | find_last_not_of (const constexpr_str_t< char_T > &str) const |
|
constexpr | array_like_view_t (T *a, size_t b) noexcept |
|
constexpr | array_like_view_t (T *a, note::size_t b) noexcept |
|
template<class U >
requires strict_is_array_like_for<T,U> |
constexpr | array_like_view_t (U &&a) noexcept(noexcept((begin_of_array_like< T >(a), size_of_array_like< T >(a)))) |
|
constexpr | array_like_view_t (const this_t &) noexcept=default |
|
void | swap_with (this_t &b) noexcept(noexcept((swap(_begin, b._begin), swap(_size, b._size)))) |
|
constexpr const_iterator | data () const noexcept |
|
constexpr size_t | size () const noexcept |
|
constexpr iterator | begin () noexcept |
|
constexpr iterator | end () noexcept |
|
constexpr const_iterator | begin () const noexcept |
|
constexpr const_iterator | end () const noexcept |
|
constexpr const_iterator | cbegin () const noexcept |
|
constexpr const_iterator | cend () const noexcept |
|
constexpr reverse_iterator | rbegin () noexcept |
|
constexpr reverse_iterator | rend () noexcept |
|
constexpr T & | front () noexcept |
|
constexpr const T & | front () const noexcept |
|
constexpr T & | back () noexcept |
|
constexpr const T & | back () const noexcept |
|
constexpr bool | empty () const noexcept |
|
constexpr T & | operator[] (size_t pos) noexcept |
|
constexpr const T & | operator[] (size_t pos) const noexcept |
|
constexpr auto | operator<=> (this_t a) const noexcept(compare.nothrow< T >) |
|
constexpr auto | operator== (this_t a) const noexcept(equal.nothrow< T >) |
|
constexpr this_t | subview (size_t pos, size_t end_pos) noexcept |
|
constexpr this_t | subview (size_t pos) noexcept |
|
constexpr | operator array_like_view_t< const T > () const noexcept |
|
template<
typename char_T>
struct elc::defs::base::constexpr_str_n::constexpr_str_t< char_T >
告知其他elc库接口这是编译时常量字符串,并提供编译时计算好的内容,包括但不限于hash、bmh头、bitmark等,用于加速库操作
在文件 all_defs.cpp 第 12212 行定义.