[/ / Copyright 2017 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) /] [section:integral Integral Constants, ``] For an Mp11 integral constant type `T`, `T::value` is an integral constant in the C++ sense. [section `mp_bool`] template using mp_bool = std::integral_constant; [endsect] [section `mp_true`] using mp_true = mp_bool; [endsect] [section `mp_false`] using mp_false = mp_bool; [endsect] [section `mp_to_bool`] template using mp_to_bool = mp_bool(T::value)>; [endsect] [section `mp_not`] template using mp_not = mp_bool< !T::value >; [endsect] [section `mp_int`] template using mp_int = std::integral_constant; [endsect] [section `mp_size_t`] template using mp_size_t = std::integral_constant; [endsect] [endsect]