Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 09:46:51

0001 #ifndef BOOST_MP11_DETAIL_MP_VALUE_HPP_INCLUDED
0002 #define BOOST_MP11_DETAIL_MP_VALUE_HPP_INCLUDED
0003 
0004 // Copyright 2023 Peter Dimov
0005 // Distributed under the Boost Software License, Version 1.0.
0006 // https://www.boost.org/LICENSE_1_0.txt
0007 
0008 #include <boost/mp11/detail/config.hpp>
0009 #include <type_traits>
0010 
0011 #if defined(BOOST_MP11_HAS_TEMPLATE_AUTO)
0012 
0013 namespace boost
0014 {
0015 namespace mp11
0016 {
0017 
0018 template<auto A> using mp_value = std::integral_constant<decltype(A), A>;
0019 
0020 } // namespace mp11
0021 } // namespace boost
0022 
0023 #endif // #if defined(BOOST_MP11_HAS_TEMPLATE_AUTO)
0024 
0025 #endif // #ifndef BOOST_MP11_DETAIL_MP_VALUE_HPP_INCLUDED