mp_void.hpp 642 B

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