File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 21
21
#define __CPP2_UTIL
22
22
23
23
// If this implementation doesn't support source_location yet, disable it
24
+ // TODO: technically this test should have <version> included first, but GEFN
24
25
#if !defined(_MSC_VER) && !defined(__cpp_lib_source_location)
25
26
#undef CPP2_USE_SOURCE_LOCATION
26
27
#endif
59
60
// isn't yet supported by all of { VS 2022, g++-10, clang++-12 }
60
61
// ... this should approximate "import std;" on those compilers
61
62
#else
63
+ #include < version>
62
64
#include < concepts>
63
65
#ifdef __cpp_lib_coroutine
64
66
#include < coroutine>
85
87
#include < typeinfo>
86
88
#include < utility>
87
89
#include < variant>
88
- #include < version>
89
90
#include < memory>
90
- #include < memory_resource>
91
+ #ifdef __cpp_lib_memory_resource
92
+ #include < memory_resource>
93
+ #endif
91
94
#include < new>
92
95
#include < scoped_allocator>
93
96
#include < cfloat>
You can’t perform that action at this time.
0 commit comments