Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
std_new.hpp
Go to the documentation of this file.
1// # This file is a part of toml++ and is subject to the the terms of the MIT license.
2// # Copyright (c) Mark Gillard <mark.gillard@outlook.com.au>
3// # See https://github.com/marzer/tomlplusplus/blob/master/LICENSE for the full license text.
4// SPDX-License-Identifier: MIT
5#pragma once
6
7#include "preprocessor.hpp"
9#include <new>
11
12#if (!defined(__apple_build_version__) && TOML_CLANG >= 8) || TOML_GCC >= 7 || TOML_ICC >= 1910 || \
13 TOML_MSVC >= 1914
14#define TOML_LAUNDER(x) __builtin_launder(x)
15#elif defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
16#define TOML_LAUNDER(x) std::launder(x)
17#else
18#define TOML_LAUNDER(x) x
19#endif
TOML_ENABLE_WARNINGS
Definition std_new.hpp:10
TOML_DISABLE_WARNINGS
Definition std_new.hpp:8