WPILibC++ 2024.3.2
|
Fixed length string (array of character) for compile time use. More...
#include <wpi/ct_string.h>
Public Member Functions | |
template<size_t M> requires (M <= (N + 1)) | |
constexpr | ct_string (Char const (&s)[M]) |
constexpr | ct_string (std::basic_string_view< Char, Traits > s) |
constexpr bool | operator== (const ct_string< Char, Traits, N > &) const =default |
constexpr bool | operator== (const std::basic_string< Char, Traits > &rhs) const |
constexpr bool | operator== (std::basic_string_view< Char, Traits > rhs) const |
template<size_t M> requires (N + 1 == M) | |
constexpr bool | operator== (Char const (&rhs)[M]) const |
constexpr bool | operator== (const Char *rhs) const |
constexpr auto | size () const noexcept |
constexpr auto | begin () const noexcept |
constexpr auto | end () const noexcept |
constexpr auto | data () const noexcept |
constexpr auto | c_str () const noexcept |
constexpr | operator std::basic_string< Char, Traits > () const noexcept |
constexpr | operator std::basic_string_view< Char, Traits > () const noexcept |
Public Attributes | |
std::array< Char, N+1 > | chars |
Fixed length string (array of character) for compile time use.
N | number of characters |
Char | character type |
Traits | character traits |
|
inlineconstexpr |
|
inlineexplicitconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexpr |
|
constexprdefault |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
std::array<Char, N + 1> wpi::ct_string< Char, Traits, N >::chars |