json/include/nlohmann/detail/meta/void_t.hpp

14 lines
246 B
C++
Raw Normal View History

#pragma once
namespace nlohmann
{
namespace detail
{
2018-09-07 18:15:35 +08:00
template <typename ...Ts> struct make_void
{
using type = void;
};
template <typename ...Ts> using void_t = typename make_void<Ts...>::type;
} // namespace detail
} // namespace nlohmann