File indexing completed on 2025-12-15 10:09:49
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef BOOST_TT_IS_SCALAR_HPP_INCLUDED
0010 #define BOOST_TT_IS_SCALAR_HPP_INCLUDED
0011
0012 #include <boost/type_traits/is_arithmetic.hpp>
0013 #include <boost/type_traits/is_enum.hpp>
0014 #include <boost/type_traits/is_pointer.hpp>
0015 #include <boost/type_traits/is_member_pointer.hpp>
0016 #include <boost/config.hpp>
0017
0018 namespace boost {
0019
0020 template <typename T>
0021 struct is_scalar
0022 : public integral_constant<bool, ::boost::is_arithmetic<T>::value || ::boost::is_enum<T>::value || ::boost::is_pointer<T>::value || ::boost::is_member_pointer<T>::value>
0023 {};
0024
0025 }
0026
0027 #endif