From 860f918553a37c86e4f356107c02ec481e49348f Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Wed, 20 Dec 2017 20:25:53 +0200 Subject: [PATCH] Change mp_void to be a proper alias of `void` --- include/boost/mp11/detail/mp_void.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/boost/mp11/detail/mp_void.hpp b/include/boost/mp11/detail/mp_void.hpp index a7ac7b7..f7ab015 100644 --- a/include/boost/mp11/detail/mp_void.hpp +++ b/include/boost/mp11/detail/mp_void.hpp @@ -14,6 +14,9 @@ namespace mp11 { // mp_void + +#if 0 + namespace detail { @@ -26,6 +29,12 @@ template struct mp_void_impl template using mp_void = typename detail::mp_void_impl::type; +#else + +template using mp_void = void; + +#endif + } // namespace mp11 } // namespace boost