1
0
forked from boostorg/mp11

Move mp_void to detail/mp_void.hpp

This commit is contained in:
Peter Dimov
2017-12-20 15:58:18 +02:00
parent 65f05293a1
commit ea073efb43
2 changed files with 34 additions and 11 deletions

View File

@@ -14,6 +14,7 @@
#include <boost/mp11/detail/mp_count.hpp>
#include <boost/mp11/detail/mp_plus.hpp>
#include <boost/mp11/detail/mp_min_element.hpp>
#include <boost/mp11/detail/mp_void.hpp>
#include <type_traits>
namespace boost
@@ -22,17 +23,7 @@ namespace mp11
{
// mp_void<T...>
namespace detail
{
template<class... T> struct mp_void_impl
{
using type = void;
};
} // namespace detail
template<class... T> using mp_void = typename detail::mp_void_impl<T...>::type;
// in detail/mp_void.hpp
// mp_and<T...>
#if BOOST_WORKAROUND( BOOST_MSVC, < 1910 )