1 #pragma once // Source encoding: UTF-8 with BOM (π is a lowercase Greek "pi"). 15 template<
class Char >
16 inline auto p_first_of(
const basic_string_view<Char>& view ) noexcept
18 {
return (
is_empty( view )? empty_c_string<Char> : view.data()); }
20 template<
class Char >
21 inline auto p_beyond_of(
const basic_string_view<Char>& view ) noexcept
P_< Const_< Char > > C_str_
constexpr Raw_array_of_< 1, const Char > empty_c_string
C_str for char const*; Wide_c_str for wchar_t const*; and Mutable_c_str and Mutable_wide_c_str as dit...
CPPX_USE_STD(basic_string, basic_string_view, bitset, char_traits, size)
auto p_first_of(const basic_string_view< Char > &view) noexcept -> C_str_< Char >
Simple type builders Type_, P_, R_, Raw_array_ and Raw_array_of_.
auto is_empty(const Collection &c) -> Truth
Item[n] Raw_array_of_
Creates a raw array type of a specified size.
auto p_beyond_of(const basic_string_view< Char > &view) noexcept -> C_str_< Char >