![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /usr/include/boost/mp11/ |
Upload File : |
#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 <boost/mp11/version.hpp> #include <type_traits> #include <cstddef> namespace boost { namespace mp11 { // mp_bool template<bool B> using mp_bool = std::integral_constant<bool, B>; using mp_true = mp_bool<true>; using mp_false = mp_bool<false>; // mp_to_bool template<class T> using mp_to_bool = mp_bool<static_cast<bool>( T::value )>; // mp_not<T> template<class T> using mp_not = mp_bool< !T::value >; // mp_int template<int I> using mp_int = std::integral_constant<int, I>; // mp_size_t template<std::size_t N> using mp_size_t = std::integral_constant<std::size_t, N>; } // namespace mp11 } // namespace boost #endif // #ifndef BOOST_MP11_INTEGRAL_HPP_INCLUDED