void_t.hpp 518 B

123456789101112131415161718192021
  1. /*!
  2. @file
  3. Defines an equivalent to the proposed `std::void_t`.
  4. @copyright Louis Dionne 2013-2017
  5. Distributed under the Boost Software License, Version 1.0.
  6. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
  7. */
  8. #ifndef BOOST_HANA_DETAIL_VOID_T_HPP
  9. #define BOOST_HANA_DETAIL_VOID_T_HPP
  10. #include <boost/hana/config.hpp>
  11. BOOST_HANA_NAMESPACE_BEGIN namespace detail {
  12. template <typename ...>
  13. using void_t = void;
  14. } BOOST_HANA_NAMESPACE_END
  15. #endif // !BOOST_HANA_DETAIL_VOID_T_HPP