cppx-core
|
Classes | |
class | Generator |
Functions | |
CPPX_USE_STD (basic_string, basic_string_view, string, string_view, u16string, wstring, iterator_traits, move, next) | |
template<class Char , class Result_char = char16_t, class = Enable_if_< magnitude_bits_per_<Result_char> >= 16> | |
auto | from_string_view (const basic_string_view< Char > &sv) -> basic_string< Result_char > |
template<class Char > | |
auto | from (const P_< const Char > s) -> u16string |
template<class Char > | |
auto | from (const basic_string< Char > &s) -> u16string |
auto | from (u16string s) -> u16string |
template<class Char > | |
auto | from (const basic_string_view< Char > &s) -> u16string |
template<class Char > | |
auto | wide_from (const P_< const Char > s) -> wstring |
template<class Char > | |
auto | wide_from (const basic_string< Char > &s) -> wstring |
template<class Char > | |
auto | wide_from (const basic_string_view< Char > &s) -> wstring |
CPPX_USE_STD (distance, invoke, ref, next) | |
CPPX_USE_STD (basic_string, basic_string_view) | |
template<class Char > | |
auto | n_units_for (const basic_string_view< Char > &sv) noexcept -> Size |
template<class Char > | |
auto | n_units_for (const P_< Char > s) noexcept -> Size |
template<class Char > | |
auto | n_units_for (const basic_string< Char > &s) noexcept -> Size |
constexpr Range_< unsigned > | range_of_pair_value_1 (0xD800, 0xDBFF) |
constexpr Range_< unsigned > | range_of_pair_value_2 (0xDC00, 0xDFFF) |
constexpr auto | code_from_pair (const unsigned v1, const unsigned v2) noexcept -> uint32_t |
constexpr auto | pair_value_1_from (const uint32_t code) -> unsigned |
constexpr auto | pair_value_2_from (const uint32_t code) -> unsigned |
template<class Out_iterator > | |
auto | from_code_point (const uint32_t code_point, const Out_iterator destination) -> Out_iterator |
Variables | |
constexpr uint32_t | first_beyond = 1uL << 16 |
constexpr unsigned | max_value = first_beyond - 1 |
|
inlinenoexcept |
Definition at line 19 of file utf16-surrogate-pairs.hpp.
cppx::utf16::CPPX_USE_STD | ( | basic_string | , |
basic_string_view | , | ||
string | , | ||
string_view | , | ||
u16string | , | ||
wstring | , | ||
iterator_traits | , | ||
move | , | ||
next | |||
) |
cppx::utf16::CPPX_USE_STD | ( | basic_string | , |
basic_string_view | |||
) |
cppx::utf16::CPPX_USE_STD | ( | distance | , |
invoke | , | ||
ref | , | ||
next | |||
) |
|
inline |
Definition at line 39 of file utf16-from.hpp.
|
inline |
Definition at line 44 of file utf16-from.hpp.
|
inline |
Definition at line 48 of file utf16-from.hpp.
|
inline |
Definition at line 53 of file utf16-from.hpp.
auto cppx::utf16::from_code_point | ( | const uint32_t | code_point, |
const Out_iterator | destination | ||
) | -> Out_iterator |
Definition at line 48 of file utf16-surrogate-pairs.hpp.
|
inline |
Definition at line 19 of file utf16-from.hpp.
|
inlinenoexcept |
Definition at line 12 of file utf16-n_units_for.hpp.
Definition at line 27 of file utf16-n_units_for.hpp.
|
inlinenoexcept |
Definition at line 32 of file utf16-n_units_for.hpp.
|
inline |
Definition at line 30 of file utf16-surrogate-pairs.hpp.
|
inline |
Definition at line 37 of file utf16-surrogate-pairs.hpp.
constexpr Range_<unsigned> cppx::utf16::range_of_pair_value_1 | ( | 0xD800 | , |
0xDBFF | |||
) |
constexpr Range_<unsigned> cppx::utf16::range_of_pair_value_2 | ( | 0xDC00 | , |
0xDFFF | |||
) |
|
inline |
Definition at line 58 of file utf16-from.hpp.
|
inline |
Definition at line 63 of file utf16-from.hpp.
|
inline |
Definition at line 72 of file utf16-from.hpp.
constexpr uint32_t cppx::utf16::first_beyond = 1uL << 16 |
Definition at line 12 of file utf16-surrogate-pairs.hpp.
constexpr unsigned cppx::utf16::max_value = first_beyond - 1 |
Definition at line 13 of file utf16-surrogate-pairs.hpp.