| 1 | #ifndef BOOST_DESCRIBE_DETAIL_VOID_T_HPP_INCLUDED |
| 2 | #define BOOST_DESCRIBE_DETAIL_VOID_T_HPP_INCLUDED |
| 3 | |
| 4 | // Copyright 2021 Peter Dimov |
| 5 | // Distributed under the Boost Software License, Version 1.0. |
| 6 | // https://www.boost.org/LICENSE_1_0.txt |
| 7 | |
| 8 | #include <boost/describe/detail/config.hpp> |
| 9 | |
| 10 | #if defined(BOOST_DESCRIBE_CXX11) |
| 11 | |
| 12 | namespace boost |
| 13 | { |
| 14 | namespace describe |
| 15 | { |
| 16 | namespace detail |
| 17 | { |
| 18 | |
| 19 | template<class...> struct make_void |
| 20 | { |
| 21 | using type = void; |
| 22 | }; |
| 23 | |
| 24 | template<class... T> using void_t = typename make_void<T...>::type; |
| 25 | |
| 26 | } // namespace detail |
| 27 | } // namespace describe |
| 28 | } // namespace boost |
| 29 | |
| 30 | #endif // defined(BOOST_DESCRIBE_CXX11) |
| 31 | |
| 32 | #endif // #ifndef BOOST_DESCRIBE_DETAIL_VOID_T_HPP_INCLUDED |
| 33 | |