xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
internal
__xtd_std_version.hpp
Go to the documentation of this file.
1
3
#pragma once
5
#include "
../check_cpp_version.hpp
"
6
#include "
../check_cpp_exceptions.hpp
"
7
#include "
../check_cpp_rtti.hpp
"
8
9
#if !defined(__XTD_STD_INTERNAL__)
10
#error "Do not include this file: Internal use only"
11
#endif
13
14
// Sometimes the preprocessor macros corresponding to C++ language and library features are not bee respected by compilers
15
// In this case, xtd uses its own definition. It begins with the prefix `__xtd`.
16
// See https://en.cppreference.com/w/cpp/feature_test and https://en.cppreference.com/w/cpp/compiler_support for more information.
17
// Warning Internal useonly.
18
20
#include <version>
21
22
// Example
23
//#if (defined(__cpp_lib_format) && defined(_MSC_VER) && _MSC_VER >= 1932) || (defined(__apple_build_version__) && __apple_build_version__ >= 15000300) || (!defined(__APPLE__) && defined(__GNUC__) && __GNUC__ >= 13) || (!defined(__APPLE__) && defined(__clang_major__) && __clang_major__ >= 15)
24
//#define __xtd__cpp_lib_format
25
//#endif
26
check_cpp_exceptions.hpp
Contains C++ exceptions check.
check_cpp_rtti.hpp
Contains C++ RTTI check.
check_cpp_version.hpp
Contains C++ version check.
Generated on
for xtd by
Gammasoft
. All rights reserved.