File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
include/boost/python/detail Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 77# define BOOST_PYTHON_DETAIL_TYPE_TRAITS_HPP
88
99
10- #if __cplusplus < 201103L && (!defined(BOOST_MSVC) || BOOST_MSVC<=1600)
11- #define BOOST_PYTHON_USE_BOOST_TYPES
10+ #include < boost/config.hpp >
11+ #ifdef BOOST_NO_CXX11_HDR_TYPE_TRAITS
1212# include < boost/type_traits/transform_traits.hpp>
1313# include < boost/type_traits/same_traits.hpp>
1414# include < boost/type_traits/cv_traits.hpp>
3535
3636namespace boost { namespace python { namespace detail {
3737
38- #if defined(BOOST_PYTHON_USE_BOOST_TYPES)
38+ #ifdef BOOST_NO_CXX11_HDR_TYPE_TRAITS
3939 using boost::alignment_of;
4040 using boost::add_const;
4141 using boost::add_cv;
@@ -99,8 +99,8 @@ namespace boost { namespace python { namespace detail {
9999 using std::remove_cv;
100100 using std::remove_const;
101101
102- using true_ = std::integral_constant<bool , true >;
103- using false_ = std::integral_constant<bool , false >;
102+ typedef std::integral_constant<bool , true > true_ ;
103+ typedef std::integral_constant<bool , false > false_ ;
104104#endif
105105 using boost::is_base_and_derived;
106106 using boost::type_with_alignment;
You can’t perform that action at this time.
0 commit comments