Files
flatbuffers-bigfoot/include/flatbuffers
Bernie Innocenti a6f4194489 Fix std::span autodetection (#7805)
The current detection method fails on GCC 12.2 with -std=c++20 because
the __cpp_lib_span macro is undefined.

As per https://en.cppreference.com/w/cpp/utility/feature_test ,
__cpp_lib_span requires including either <version> or <span>.

Since both these headers were added in C++20, checking for C++20 is
sufficient (and simpler than using the library feature-test macro).

Signed-off-by: Bernie Innocenti <bernie@codewiz.org>
Co-authored-by: Derek Bailey <derekbailey@google.com>
2023-01-30 21:59:17 -08:00
..
2023-01-21 12:46:57 -08:00
2023-01-07 19:40:03 -08:00
2023-01-07 19:40:03 -08:00
2023-01-28 13:17:36 -06:00
2023-01-07 19:40:03 -08:00
2022-02-01 11:23:18 -08:00
2023-01-07 19:40:03 -08:00
2022-08-29 19:21:42 -07:00