|
| constexpr | StaticString ()=default |
| |
| constexpr | StaticString (const char(&input)[Size+1]) |
| |
| constexpr | StaticString (const ranges::forward_range auto &rng) |
| | Do not include '\0'.
|
| |
template<std::size_t Pos, std::size_t Len = std::numeric_limits<std::size_t>::max()>
requires (Pos <= Size) |
| constexpr auto | substr () const |
| |
template<std::size_t N>
requires (N <= Size) |
| constexpr StaticString< Size - N > | remove_prefix () const |
| |
template<std::size_t N>
requires (N <= Size) |
| constexpr StaticString< Size - N > | remove_suffix () const |
| |
| template<typename Range > |
| constexpr auto | operator+ (const Range &rhs) const |
| |
| constexpr std::size_t | size () const |
| |
| constexpr auto | begin () |
| |
| constexpr auto | begin () const |
| |
| constexpr auto | cbegin () const |
| |
| constexpr auto | end () |
| |
| constexpr auto | end () const |
| |
| constexpr auto | cend () const |
| |
| constexpr | operator std::string_view () const |
| |
| std::string | str () const |
| |
| constexpr char | operator[] (std::size_t i) const |
| |
| constexpr char & | operator[] (std::size_t i) |
| |
| constexpr char | at (std::size_t i) const |
| |
| constexpr char & | at (std::size_t i) |
| |
| template<std::size_t OtherSize> |
| constexpr auto | operator<=> (const StaticString< OtherSize > &rhs) const |
| |
| constexpr auto | operator<=> (std::string_view rhs) const |
| |
| template<std::size_t OtherSize> |
| constexpr bool | operator== (const StaticString< OtherSize > &rhs) const |
| |
| constexpr bool | operator== (std::string_view rhs) const |
| |
template<std::size_t Size>
class asmgrader::StaticString< Size >
A fully compile-time capable string type Guaranteed to be null-terminated.