@@ -1257,6 +1257,46 @@ namespace std{ using ::type_info; }
1257
1257
#endif
1258
1258
#endif
1259
1259
1260
+ #if (!defined(__has_include) || (BOOST_CXX_VERSION < 202003L))
1261
+ # define BOOST_NO_CXX23_HDR_EXPECTED
1262
+ # define BOOST_NO_CXX23_HDR_FLAT_MAP
1263
+ # define BOOST_NO_CXX23_HDR_FLAT_SET
1264
+ # define BOOST_NO_CXX23_HDR_GENERATOR
1265
+ # define BOOST_NO_CXX23_HDR_MDSPAN
1266
+ # define BOOST_NO_CXX23_HDR_PRINT
1267
+ # define BOOST_NO_CXX23_HDR_SPANSTREAM
1268
+ # define BOOST_NO_CXX23_HDR_STACKTRACE
1269
+ # define BOOST_NO_CXX23_HDR_STDFLOAT
1270
+ #else
1271
+ #if (!__has_include(<expected>) || !defined(__cpp_lib_expected) || (__cpp_lib_expected < 202211L)) && !defined(BOOST_NO_CXX23_HDR_EXPECTED)
1272
+ # define BOOST_NO_CXX23_HDR_EXPECTED
1273
+ #endif
1274
+ #if (!__has_include(<flat_map>) || !defined(__cpp_lib_flat_map) || (__cpp_lib_flat_map < 202207L)) && !defined(BOOST_NO_CXX23_HDR_FLAT_MAP)
1275
+ # define BOOST_NO_CXX23_HDR_FLAT_MAP
1276
+ #endif
1277
+ #if (!__has_include(<flat_set>) || !defined(__cpp_lib_flat_set) || (__cpp_lib_flat_set < 202207L)) && !defined(BOOST_NO_CXX23_HDR_FLAT_SET)
1278
+ # define BOOST_NO_CXX23_HDR_FLAT_SET
1279
+ #endif
1280
+ #if (!__has_include(<generator>) || !defined(__cpp_lib_generator) || (__cpp_lib_generator < 202207L)) && !defined(BOOST_NO_CXX23_HDR_GENERATOR)
1281
+ # define BOOST_NO_CXX23_HDR_GENERATOR
1282
+ #endif
1283
+ #if (!__has_include(<mdspan>) || !defined(__cpp_lib_mdspan) || (__cpp_lib_mdspan < 202207L)) && !defined(BOOST_NO_CXX23_HDR_MDSPAN)
1284
+ # define BOOST_NO_CXX23_HDR_MDSPAN
1285
+ #endif
1286
+ #if (!__has_include(<print>) || !defined(__cpp_lib_print) || (__cpp_lib_print < 202207L)) && !defined(BOOST_NO_CXX23_HDR_PRINT)
1287
+ # define BOOST_NO_CXX23_HDR_PRINT
1288
+ #endif
1289
+ #if (!__has_include(<spanstream>) || !defined(__cpp_lib_spanstream) || (__cpp_lib_spanstream < 202106L)) && !defined(BOOST_NO_CXX23_HDR_SPANSTREAM)
1290
+ # define BOOST_NO_CXX23_HDR_SPANSTREAM
1291
+ #endif
1292
+ #if (!__has_include(<stacktrace>) || !defined(__cpp_lib_stacktrace) || (__cpp_lib_stacktrace < 202011L)) && !defined(BOOST_NO_CXX23_HDR_STACKTRACE)
1293
+ # define BOOST_NO_CXX23_HDR_STACKTRACE
1294
+ #endif
1295
+ #if !__has_include(<stdfloat>) && !defined(BOOST_NO_CXX23_HDR_STDFLOAT)
1296
+ # define BOOST_NO_CXX23_HDR_STDFLOAT
1297
+ #endif
1298
+ #endif
1299
+
1260
1300
#if defined(__cplusplus) && defined(__has_include)
1261
1301
#if !__has_include(<version>)
1262
1302
# define BOOST_NO_CXX20_HDR_VERSION
0 commit comments