33 lines
677 B
C++
33 lines
677 B
C++
|
#ifndef BOOST_DESCRIBE_DETAIL_VOID_T_HPP_INCLUDED
|
||
|
#define BOOST_DESCRIBE_DETAIL_VOID_T_HPP_INCLUDED
|
||
|
|
||
|
// Copyright 2021 Peter Dimov
|
||
|
// Distributed under the Boost Software License, Version 1.0.
|
||
|
// https://www.boost.org/LICENSE_1_0.txt
|
||
|
|
||
|
#include <boost/describe/detail/config.hpp>
|
||
|
|
||
|
#if defined(BOOST_DESCRIBE_CXX11)
|
||
|
|
||
|
namespace boost
|
||
|
{
|
||
|
namespace describe
|
||
|
{
|
||
|
namespace detail
|
||
|
{
|
||
|
|
||
|
template<class...> struct make_void
|
||
|
{
|
||
|
using type = void;
|
||
|
};
|
||
|
|
||
|
template<class... T> using void_t = typename make_void<T...>::type;
|
||
|
|
||
|
} // namespace detail
|
||
|
} // namespace describe
|
||
|
} // namespace boost
|
||
|
|
||
|
#endif // defined(BOOST_DESCRIBE_CXX11)
|
||
|
|
||
|
#endif // #ifndef BOOST_DESCRIBE_DETAIL_VOID_T_HPP_INCLUDED
|