1 #pragma once // Source encoding: UTF-8 with BOM (π is a lowercase Greek "pi"). 11 template<
class Char >
12 inline auto n_units_for(
const basic_string_view<Char>& sv ) noexcept
26 template<
class Char >
29 {
return n_units_for( basic_string_view<Char>( s ) ); }
31 template<
class Char >
32 inline auto n_units_for(
const basic_string<Char>& s ) noexcept
34 {
return n_units_for( basic_string_view<Char>( s ) ); }
auto n_units_for(const basic_string_view< Char > &sv) noexcept -> Size
Some_type * P_
Creates a raw pointer type.
Signed_< size_t > Size
A Signed_ equivalent of size_t.
CPPX_USE_STD(basic_string, basic_string_view, string, string_view, u16string, wstring, iterator_traits, move, next)
#define CPPX_ITEMS_OF(c)
$items_of(c) effectively expands to std::begin(c), std::end(c).
auto utf16_from_bytes(const Span_< In_iterator > bytes_range, const Out_iterator destination) -> Out_iterator
auto count() const noexcept -> Size
Macros for generating more concise and clear using statements, primarily $use_cppx and $use_std,...