|
utf-42
|
Main namespace of the library. More...
Classes | |
| class | basic_string_view |
| A class that provides a lightweight, non-owning view of a string. More... | |
| struct | is_character |
| Type trait that checks whether a type is a supported character type. More... | |
| struct | poly_enc |
| Container holding all character-encoded views of a string literal. More... | |
Functions | |
| template<typename char_t > | |
| constexpr basic_string_view< char_t > | visit_poly_enc (const poly_enc &oPolyEnv) |
| Selects the appropriate encoded string view for a given character type. | |
Main namespace of the library.
|
constexpr |
Selects the appropriate encoded string view for a given character type.
This function is evaluated at compile time and returns a std::basic_string_view<char_t> referring to the correctly encoded literal stored in the provided poly_enc.
| char_t | Desired character type. |
| oPolyEnv | Polymorphic encoding container. |