| 1 | #ifndef BOOST_MP11_DETAIL_MP_VOID_HPP_INCLUDED |
| 2 | #define BOOST_MP11_DETAIL_MP_VOID_HPP_INCLUDED |
| 3 | |
| 4 | // Copyright 2015-2017 Peter Dimov. |
| 5 | // |
| 6 | // Distributed under the Boost Software License, Version 1.0. |
| 7 | // |
| 8 | // See accompanying file LICENSE_1_0.txt or copy at |
| 9 | // http://www.boost.org/LICENSE_1_0.txt |
| 10 | |
| 11 | namespace boost |
| 12 | { |
| 13 | namespace mp11 |
| 14 | { |
| 15 | |
| 16 | // mp_void<T...> |
| 17 | namespace detail |
| 18 | { |
| 19 | |
| 20 | template<class... T> struct mp_void_impl |
| 21 | { |
| 22 | using type = void; |
| 23 | }; |
| 24 | |
| 25 | } // namespace detail |
| 26 | |
| 27 | template<class... T> using mp_void = typename detail::mp_void_impl<T...>::type; |
| 28 | |
| 29 | } // namespace mp11 |
| 30 | } // namespace boost |
| 31 | |
| 32 | #endif // #ifndef BOOST_MP11_DETAIL_MP_VOID_HPP_INCLUDED |
| 33 | |