Add a versioned inline namespace to prevent ABI issues when linking code using multiple library versions.
25 lines
601 B
C++
25 lines
601 B
C++
// __ _____ _____ _____
|
|
// __| | __| | | | JSON for Modern C++
|
|
// | | |__ | | | | | | version 3.10.5
|
|
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
|
|
//
|
|
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
#pragma once
|
|
|
|
namespace nlohmann
|
|
{
|
|
inline namespace json_v3_10_5
|
|
{
|
|
namespace detail
|
|
{
|
|
template<typename ...Ts> struct make_void
|
|
{
|
|
using type = void;
|
|
};
|
|
template<typename ...Ts> using void_t = typename make_void<Ts...>::type;
|
|
} // namespace detail
|
|
} // namespace json_v3_10_5
|
|
} // namespace nlohmann
|