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/macro_scope.hpp> |
12 | |
13 | #if JSON_HAS_EXPERIMENTAL_FILESYSTEM |
14 | #include <experimental/filesystem> |
15 | NLOHMANN_JSON_NAMESPACE_BEGIN |
16 | namespace detail |
17 | { |
18 | namespace std_fs = std::experimental::filesystem; |
19 | } // namespace detail |
20 | NLOHMANN_JSON_NAMESPACE_END |
21 | #elif JSON_HAS_FILESYSTEM |
22 | #include <filesystem> |
23 | NLOHMANN_JSON_NAMESPACE_BEGIN |
24 | namespace detail |
25 | { |
26 | namespace std_fs = std::filesystem; |
27 | } // namespace detail |
28 | NLOHMANN_JSON_NAMESPACE_END |
29 | #endif |
30 |