forked from boostorg/mp11
Change mp_void<T...> to be a proper alias of void
This commit is contained in:
@@ -14,6 +14,9 @@ namespace mp11
|
|||||||
{
|
{
|
||||||
|
|
||||||
// mp_void<T...>
|
// mp_void<T...>
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
|
||||||
namespace detail
|
namespace detail
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -26,6 +29,12 @@ template<class... T> struct mp_void_impl
|
|||||||
|
|
||||||
template<class... T> using mp_void = typename detail::mp_void_impl<T...>::type;
|
template<class... T> using mp_void = typename detail::mp_void_impl<T...>::type;
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
template<class... T> using mp_void = void;
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
} // namespace mp11
|
} // namespace mp11
|
||||||
} // namespace boost
|
} // namespace boost
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user