diff --git a/include/boost/type_traits/config.hpp b/include/boost/type_traits/config.hpp index 1e00d18..47a0648 100644 --- a/include/boost/type_traits/config.hpp +++ b/include/boost/type_traits/config.hpp @@ -13,7 +13,7 @@ // This header is deprecated and no longer used by type_traits: // #if defined(__GNUC__) || defined(_MSC_VER) -# pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") +# pragma message("NOTE: Use of this header (boost/type_traits/config.hpp) is deprecated") #endif #endif // BOOST_TT_CONFIG_HPP_INCLUDED diff --git a/include/boost/type_traits/integral_constant.hpp b/include/boost/type_traits/integral_constant.hpp index 9eed55c..6c43ece 100644 --- a/include/boost/type_traits/integral_constant.hpp +++ b/include/boost/type_traits/integral_constant.hpp @@ -61,6 +61,7 @@ namespace boost{ static const char data = 0; return *reinterpret_cast*>(&data); } + BOOST_CONSTEXPR operator T() { return val; } }; template @@ -74,6 +75,7 @@ namespace boost{ static const char data = 0; return *reinterpret_cast*>(&data); } + BOOST_CONSTEXPR operator bool() { return val; } }; typedef integral_constant true_type;