core.stdcpp.xutility

D header file for interaction with Microsoft C++ <xutility>

Types 1

enumCppStdRevision : uint

Possible values of the __cplusplus macro provided by C++ compilers

For foolproofness, use ordering comparison, e.g. __cplusplus >= CppStdRevision.cpp17.

cpp98 = 199711
cpp11 = 201103
cpp14 = 201402
cpp17 = 201703
cpp20 = 202002
cpp23 = 202302

Variables 3

enumvar__cplusplus = __traits(getTargetInfo, "cppStd")

Returns the target C++ version, encoded as C++ compilers do

C++ compilers provide a __cplusplus macro which returns an integer representing the targetted standard. This manifest provides the same interface, retrieved from the compiler via a __traits.

enumvar__cpp_sized_deallocation = __cplusplus >= CppStdRevision.cpp14 || is(typeof(_MSC_VER)) ? 201309 : 0
enumvar__cpp_aligned_new = __cplusplus >= CppStdRevision.cpp17 ? 201606 : 0