|
HikoGUI
A low latency retained GUI
|
#include <ttauri/fixed_string.hpp>
Public Types | |
| using | value_type = CharT |
Public Member Functions | |
| constexpr | basic_fixed_string (basic_fixed_string const &) noexcept=default |
| constexpr | basic_fixed_string (basic_fixed_string &&) noexcept=default |
| constexpr basic_fixed_string & | operator= (basic_fixed_string const &) noexcept=default |
| constexpr basic_fixed_string & | operator= (basic_fixed_string &&) noexcept=default |
| constexpr | basic_fixed_string (value_type const (&str)[N+1]) noexcept |
| operator std::basic_string< value_type > () const noexcept | |
| operator std::basic_string_view< value_type > () const noexcept | |
| operator value_type const * () const noexcept | |
| constexpr auto | begin () const noexcept |
| constexpr auto | end () const noexcept |
| constexpr size_t | size () const noexcept |
| constexpr value_type const * | data () const noexcept |
| template<int M> | |
| constexpr auto | operator+ (basic_fixed_string< value_type, M > const &rhs) noexcept |
Data Fields | |
| value_type | _str [N+1] |
Friends | |
| bool | operator== (basic_fixed_string const &lhs, basic_fixed_string const &rhs) noexcept=default |
example: ``` template<tt::basic_fixed_string Foo> class A { auto bar() { return std::string{Foo}; } };
std::string test() { auto a = A<"hello">{}; return a.bar(); } ```