File indexing completed on 2025-07-01 08:18:48
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 #ifndef BOOST_LEXICAL_CAST_DETAIL_IS_CHARACTER_HPP
0019 #define BOOST_LEXICAL_CAST_DETAIL_IS_CHARACTER_HPP
0020
0021 #include <boost/config.hpp>
0022 #ifdef BOOST_HAS_PRAGMA_ONCE
0023 # pragma once
0024 #endif
0025
0026 #include <boost/type_traits/integral_constant.hpp>
0027 #include <boost/type_traits/is_same.hpp>
0028
0029 namespace boost { namespace detail {
0030
0031
0032 template < typename T >
0033 using is_character = boost::integral_constant<
0034 bool,
0035 boost::is_same< T, char >::value ||
0036 #if !defined(BOOST_NO_STRINGSTREAM) && !defined(BOOST_NO_STD_WSTRING)
0037 boost::is_same< T, wchar_t >::value ||
0038 #endif
0039 #ifndef BOOST_NO_CXX11_CHAR16_T
0040 boost::is_same< T, char16_t >::value ||
0041 #endif
0042 #ifndef BOOST_NO_CXX11_CHAR32_T
0043 boost::is_same< T, char32_t >::value ||
0044 #endif
0045 boost::is_same< T, unsigned char >::value ||
0046 boost::is_same< T, signed char >::value
0047 >;
0048
0049 }}
0050
0051 #endif
0052