![]() |
LeechCraft 0.6.70-16373-g319c272718
Modular cross-platform feature rich live environment.
|
#include "ctstring.h"
Public Types | |
using | Char_t = Char |
Public Member Functions | |
constexpr | CtString () noexcept=default |
constexpr | CtString (RawStr< N+1, Char > s) noexcept |
constexpr auto | operator<=> (const CtString &) const =default |
template<size_t N2> | |
constexpr auto | operator+ (const CtString< N2, Char > &s2) const noexcept |
template<size_t N2> | |
constexpr auto | operator+ (RawStr< N2, Char > s2) const noexcept |
constexpr auto | operator+ (Char ch) const noexcept |
constexpr bool | IsEmpty () const noexcept |
constexpr bool | EndsWith (Char ch) const noexcept |
template<size_t Count> requires (Count <= Size) | |
constexpr auto | Chop () const noexcept |
constexpr Char & | operator[] (size_t pos) noexcept |
constexpr Char | operator[] (size_t pos) const noexcept |
constexpr | operator QStringView () const noexcept |
constexpr auto | Data () const noexcept |
Static Public Member Functions | |
static constexpr auto | FromUnsized (const Char *s) noexcept |
Public Attributes | |
Char | Data_ [Size] {} |
Static Public Attributes | |
static constexpr size_t | Size = N |
Non-0-terminated compile-time string.
N | The length of the string in Char . |
Char | The underlying character type. |
Definition at line 27 of file ctstring.h.
using LC::Util::CtString< N, Char >::Char_t = Char |
Definition at line 29 of file ctstring.h.
|
constexprdefaultnoexcept |
|
inlineconstexprnoexcept |
Definition at line 39 of file ctstring.h.
References LC::Util::CtString< N, Char >::Data_, and LC::Util::CtString< N, Char >::Size.
|
inlinenodiscardconstexprnoexcept |
Definition at line 87 of file ctstring.h.
References LC::Util::CtString< N, Char >::Data_, and LC::Util::CtString< N, Char >::FromUnsized().
|
inlineconstexprnoexcept |
Definition at line 108 of file ctstring.h.
References LC::Util::CtString< N, Char >::Data_.
|
inlineconstexprnoexcept |
Definition at line 79 of file ctstring.h.
References LC::Util::CtString< N, Char >::Data_, and LC::Util::CtString< N, Char >::Size.
|
inlinestaticconstexprnoexcept |
Definition at line 46 of file ctstring.h.
References LC::Util::CtString< N, Char >::Size.
Referenced by LC::Util::CtString< N, Char >::Chop().
|
inlineconstexprnoexcept |
Definition at line 74 of file ctstring.h.
References LC::Util::CtString< N, Char >::Size.
|
inlineconstexprnoexcept |
Definition at line 102 of file ctstring.h.
References LC::Util::CtString< N, Char >::Data_, and LC::Util::CtString< N, Char >::Size.
|
inlineconstexprnoexcept |
Definition at line 69 of file ctstring.h.
|
inlineconstexprnoexcept |
Definition at line 54 of file ctstring.h.
References LC::Util::CtString< N, Char >::Data_, and LC::Util::CtString< N, Char >::Size.
|
inlineconstexprnoexcept |
Definition at line 64 of file ctstring.h.
|
constexprdefault |
|
inlineconstexprnoexcept |
Definition at line 97 of file ctstring.h.
References LC::Util::CtString< N, Char >::Data_.
|
inlineconstexprnoexcept |
Definition at line 92 of file ctstring.h.
References LC::Util::CtString< N, Char >::Data_.
Char LC::Util::CtString< N, Char >::Data_[Size] {} |
Definition at line 35 of file ctstring.h.
Referenced by LC::Util::CtString< N, Char >::CtString(), LC::Util::CtString< N, Char >::Chop(), LC::Util::CtString< N, Char >::Data(), LC::Util::CtString< N, Char >::EndsWith(), LC::Util::CtString< N, Char >::operator QStringView(), LC::Util::CtString< N, Char >::operator+(), LC::Util::operator<<(), LC::Util::CtString< N, Char >::operator[](), and LC::Util::CtString< N, Char >::operator[]().
|
staticconstexpr |
The size of the string.
Definition at line 33 of file ctstring.h.
Referenced by LC::Util::CtString< N, Char >::CtString(), LC::Util::CtString< N, Char >::EndsWith(), LC::Util::CtString< N, Char >::FromUnsized(), LC::Util::CtString< N, Char >::IsEmpty(), LC::Util::CtString< N, Char >::operator QStringView(), and LC::Util::CtString< N, Char >::operator+().