File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 60
60
// isn't yet supported by all of { VS 2022, g++-10, clang++-12 }
61
61
// ... this should approximate "import std;" on those compilers
62
62
#else
63
+ #ifdef _MSC_VER
64
+ #include " intrin.h"
65
+ #endif
63
66
#include < version>
64
67
#include < algorithm>
65
68
#include < any>
150
153
#include < list>
151
154
#include < locale>
152
155
#include < map>
153
- // md_span - not yet listed in SD-6 for feature test flags
156
+ #ifdef __cpp_lib_mdspan
157
+ #include < mdspan>
158
+ #endif
154
159
#include < memory>
155
160
#ifdef __cpp_lib_memory_resource
156
161
#include < memory_resource>
191
196
#include < stdatomic.h>
192
197
#endif
193
198
#include < stdexcept>
194
- // stdfloat - not yet listed in SD-6 for feature test flags
199
+ #if __has_include(<stdfloat>)
200
+ #include < stdfloat>
201
+ #endif
195
202
#ifdef __cpp_lib_jthread
196
203
#include < stop_token>
197
204
#endif
220
227
// Otherwise, we're not in -pure-cpp2 and so just #include
221
228
// what we need in this header to make this self-contained
222
229
#else
230
+ #ifdef _MSC_VER
231
+ #include " intrin.h"
232
+ #endif
223
233
#include < algorithm>
224
234
#include < any>
225
235
#include < compare>
You can’t perform that action at this time.
0 commit comments