WPILibC++ 2024.3.2
macro_unscope.h
Go to the documentation of this file.
1// __ _____ _____ _____
2// __| | __| | | | JSON for Modern C++
3// | | |__ | | | | | | version 3.11.2
4// |_____|_____|_____|_|___| https://github.com/nlohmann/json
5//
6// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
7// SPDX-License-Identifier: MIT
8
9#pragma once
10
11// restore clang diagnostic settings
12#if defined(__clang__)
13 #pragma clang diagnostic pop
14#endif
15
16// clean up
17#undef JSON_ASSERT
18#undef JSON_INTERNAL_CATCH
19#undef JSON_THROW
20#undef JSON_PRIVATE_UNLESS_TESTED
21#undef WPI_BASIC_JSON_TPL_DECLARATION
22#undef WPI_BASIC_JSON_TPL
23#undef JSON_EXPLICIT
24#undef WPI_CAN_CALL_STD_FUNC_IMPL
25#undef JSON_INLINE_VARIABLE
26#undef JSON_NO_UNIQUE_ADDRESS
27#undef JSON_DISABLE_ENUM_SERIALIZATION
28#undef JSON_USE_GLOBAL_UDLS
29
30#ifndef JSON_TEST_KEEP_MACROS
31 #undef JSON_CATCH
32 #undef JSON_TRY
33 #undef JSON_HAS_CPP_11
34 #undef JSON_HAS_CPP_14
35 #undef JSON_HAS_CPP_17
36 #undef JSON_HAS_CPP_20
37 #undef JSON_HAS_FILESYSTEM
38 #undef JSON_HAS_EXPERIMENTAL_FILESYSTEM
39 #undef JSON_HAS_THREE_WAY_COMPARISON
40 #undef JSON_HAS_RANGES
41 #undef JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON
42#endif
43