json/include/nlohmann/detail/meta/void_t.hpp
David Stone e1fca0b1ae Do not use #pragma once
Fixes #3974 by using the standard-compliant `#ifndef #define #endif` pattern instead of `#pragma once`.
2023-04-03 14:53:00 -06:00

28 lines
732 B
C++

// __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_META_VOID_T_HPP
#define INCLUDE_NLOHMANN_DETAIL_META_VOID_T_HPP
#include <nlohmann/detail/abi_macros.hpp>
NLOHMANN_JSON_NAMESPACE_BEGIN
namespace detail
{
template<typename ...Ts> struct make_void
{
using type = void;
};
template<typename ...Ts> using void_t = typename make_void<Ts...>::type;
} // namespace detail
NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_META_VOID_T_HPP