12345678910111213141516171819202122232425 |
- #ifndef BHO_MP11_DETAIL_MP_VALUE_HPP_INCLUDED
- #define BHO_MP11_DETAIL_MP_VALUE_HPP_INCLUDED
- // Copyright 2023 Peter Dimov
- // Distributed under the Boost Software License, Version 1.0.
- // https://www.boost.org/LICENSE_1_0.txt
- #include <asio2/bho/mp11/detail/config.hpp>
- #include <type_traits>
- #if defined(BHO_MP11_HAS_TEMPLATE_AUTO)
- namespace bho
- {
- namespace mp11
- {
- template<auto A> using mp_value = std::integral_constant<decltype(A), A>;
- } // namespace mp11
- } // namespace bho
- #endif // #if defined(BHO_MP11_HAS_TEMPLATE_AUTO)
- #endif // #ifndef BHO_MP11_DETAIL_MP_VALUE_HPP_INCLUDED
|