cppx-core
Namespaces | Functions
ascii-util.hpp File Reference
#include <cppx-core/collections/Range_.hpp>
#include <cppx-core/language/syntax/macro-items_of.hpp>
#include <cppx-core/language/syntax/macro-use.hpp>
#include <cppx-core/language/types/byte-types.hpp>
#include <cppx-core/language/types/Truth.hpp>
#include <cppx-core/language/types/type-makers.hpp>
#include <cppx-core/meta-template/enable_if_.hpp>
#include <cppx-core/meta-type/type-traits.hpp>
#include <cppx-core/text/data/ascii-character-names.hpp>
#include <c/string.hpp>
#include <c/ctype.hpp>
#include <string>
#include <string_view>
#include <functional>
Include dependency graph for ascii-util.hpp:

Go to the source code of this file.

Namespaces

 cppx
 
 cppx::cstdlib
 
 cppx::cppx
 
 cppx::cppx::ascii
 

Functions

template<class Char , class = Enable_if_< is_a_cpp03_char_type_<Char> or is_a_char_variant_type_<Char> >>
auto cppx::cstdlib::is_space (const Char ch) -> Truth
 
template<>
auto cppx::cstdlib::is_space< wchar_t > (const wchar_t ch) -> Truth
 
 cppx::cppx::ascii::CPPX_USE_STD (basic_string, basic_string_view, invoke, string, string_view, wstring, wstring_view)
 
template<class Integer >
auto cppx::cppx::ascii::contains (const Integer v) -> Truth
 
template<class It >
auto cppx::cppx::ascii::contains_all_of (const It start, const It beyond) -> Truth
 
template<class Char , class = Enable_if_<is_a_cpp03_char_type_<Char>>>
auto cppx::cppx::ascii::contains_all_of (const basic_string_view< Char > &sv) -> Truth
 
template<class Char , class = Enable_if_<is_a_cpp03_char_type_<Char>>>
auto cppx::cppx::ascii::contains_all_of (const P_< const Char > s) -> Truth
 
template<class Char , class = Enable_if_<is_a_cpp03_char_type_<Char>>>
auto cppx::cppx::ascii::contains_all_of (const basic_string< Char > &s) -> Truth
 
template<class Char , class = Enable_if_<is_a_cpp03_char_type_<Char>>>
auto cppx::cppx::ascii::to_wide (const basic_string_view< Char > &v) -> wstring
 
template<class Char , class = Enable_if_<is_a_cpp03_char_type_<Char>>>
auto cppx::cppx::ascii::to_wide (const P_< const Char > s) -> wstring
 
template<class Char , class = Enable_if_<is_a_cpp03_char_type_<Char>>>
auto cppx::cppx::ascii::to_wide (const basic_string< Char > &s) -> wstring
 
template<class Char , class = Enable_if_<is_a_cpp03_char_type_<Char>>>
auto cppx::cppx::ascii::is_whitespace (const Char ch) -> Truth
 
template<class Char , class = Enable_if_<is_a_cpp03_char_type_<Char>>>
auto cppx::cppx::ascii::is_all_whitespace (const basic_string_view< Char > &sv) -> Truth
 
template<class Char , class = Enable_if_<is_a_cpp03_char_type_<Char>>>
auto cppx::cppx::ascii::is_all_whitespace (const basic_string< Char > &s) -> Truth
 
template<class Char , class = Enable_if_<is_a_cpp03_char_type_<Char>>>
auto cppx::cppx::ascii::is_all_whitespace (const P_< const Char > s) -> Truth
 
auto cppx::cppx::ascii::whitespace_characters () -> const string &
 
template<class Char , class = Enable_if_<is_a_cpp03_char_type_<Char>>>
auto cppx::cppx::ascii::is_lowercase (const Char ch) -> Truth
 
template<class Char , class = Enable_if_<is_a_cpp03_char_type_<Char>>>
auto cppx::cppx::ascii::is_uppercase (const Char ch) -> Truth
 
template<class Char , class = Enable_if_<is_a_cpp03_char_type_<Char>>>
auto cppx::cppx::ascii::to_lowercase (const Char ch) -> Char
 
template<class Char , class = Enable_if_<is_a_cpp03_char_type_<Char>>>
auto cppx::cppx::ascii::to_uppercase (const Char ch) -> Char
 
template<class Char , class = Enable_if_<is_a_cpp03_char_type_<Char>>>
auto cppx::cppx::ascii::to_lowercase (const basic_string_view< Char > &v) -> basic_string< Char >
 
template<class Char , class = Enable_if_<is_a_cpp03_char_type_<Char>>>
auto cppx::cppx::ascii::to_uppercase (const basic_string_view< Char > &v) -> basic_string< Char >
 
template<class Char , class = Enable_if_<is_a_cpp03_char_type_<Char>>>
auto cppx::cppx::ascii::to_lowercase (const P_< const Char > s) -> basic_string< Char >
 
template<class Char , class = Enable_if_<is_a_cpp03_char_type_<Char>>>
auto cppx::cppx::ascii::to_uppercase (const P_< const Char > s) -> basic_string< Char >
 
template<class Char , class = Enable_if_<is_a_cpp03_char_type_<Char>>>
auto cppx::cppx::ascii::to_lowercase (const basic_string< Char > &s) -> basic_string< Char >
 
template<class Char , class = Enable_if_<is_a_cpp03_char_type_<Char>>>
auto cppx::cppx::ascii::to_uppercase (const basic_string< Char > &s) -> basic_string< Char >
 
auto cppx::cppx::ascii::quoted (const string_view &sv) -> string
 
auto cppx::cppx::ascii::quoted (const char ch) -> string