#ifndef BOOST_MP11_INTEGRAL_HPP_INCLUDED #define BOOST_MP11_INTEGRAL_HPP_INCLUDED // Copyright 2015 Peter Dimov. // // Distributed under the Boost Software License, Version 1.0. // // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt #include #include #include #include #if defined(_MSC_VER) || defined(__GNUC__) # pragma push_macro( "I" ) # undef I #endif namespace boost { namespace mp11 { // mp_bool template using mp_bool = std::integral_constant; using mp_true = mp_bool; using mp_false = mp_bool; // mp_to_bool template using mp_to_bool = mp_bool( T::value )>; // mp_not template using mp_not = mp_bool< !T::value >; // mp_int template using mp_int = std::integral_constant; // mp_size_t template using mp_size_t = std::integral_constant; } // namespace mp11 } // namespace boost #if defined(_MSC_VER) || defined(__GNUC__) # pragma pop_macro( "I" ) #endif #endif // #ifndef BOOST_MP11_INTEGRAL_HPP_INCLUDED