Debian Codegraph @

3rdparty/nlohmann_json/include/nlohmann/detail/meta/void_t.hpp

raw
1 // __ _____ _____ _____
2 // __| | __| | | | JSON for Modern C++
3 // | | |__ | | | | | | version 3.11.3
4 // |_____|_____|_____|_|___| https://github.com/nlohmann/json
5 //
6 // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me>
7 // SPDX-License-Identifier: MIT
8
9 #pragma once
10
11 #include <nlohmann/detail/abi_macros.hpp>
12
13 NLOHMANN_JSON_NAMESPACE_BEGIN
14 namespace detail
15 {
16
17 template<typename ...Ts> struct make_void
18 {
19 using type = void;
20 };
21 template<typename ...Ts> using void_t = typename make_void<Ts...>::type;
22
23 } // namespace detail
24 NLOHMANN_JSON_NAMESPACE_END