/usr/include/boost/convert/detail
NameSizeModeActions
char.hpp16390644editdlrm
config.hpp18850644editdlrm
has_member.hpp38090644editdlrm
is_callable.hpp63030644editdlrm
is_converter.hpp19600644editdlrm
is_fun.hpp23190644editdlrm
is_string.hpp11790644editdlrm
range.hpp46620644editdlrm
Edit: /usr/include/boost/convert/detail/char.hpp (1639B)
// Copyright (c) 2009-2016 Vladimir Batov. // Use, modification and distribution are subject to the Boost Software License, // Version 1.0. See http://www.boost.org/LICENSE_1_0.txt. #ifndef BOOST_CONVERT_DETAIL_IS_CHAR_HPP #define BOOST_CONVERT_DETAIL_IS_CHAR_HPP #include #include #include #include namespace boost { namespace cnv { using char_type = char; using uchar_type = unsigned char; using wchar_type = wchar_t; namespace detail { template struct is_char : std::false_type {}; template<> struct is_char< char_type> : std:: true_type {}; template<> struct is_char : std:: true_type {}; } template struct is_char : detail::is_char::type> {}; template inline bool is_space(char_type); template inline char_type to_upper(char_type); template<> inline bool is_space ( char_type c) { return bool(std::isspace(static_cast(c))); } template<> inline bool is_space (uchar_type c) { return bool(std::isspace(c)); } template<> inline bool is_space (wchar_type c) { return bool(std::iswspace(c)); } template<> inline char_type to_upper ( char_type c) { return std::toupper(static_cast(c)); } template<> inline uchar_type to_upper (uchar_type c) { return std::toupper(c); } template<> inline wchar_type to_upper (wchar_type c) { return std::towupper(c); } }} #endif // BOOST_CONVERT_DETAIL_IS_CHAR_HPP