diff --git a/include/boost/pfr/config.hpp b/include/boost/pfr/config.hpp index 4912545f..26bc9988 100644 --- a/include/boost/pfr/config.hpp +++ b/include/boost/pfr/config.hpp @@ -58,7 +58,7 @@ #endif #ifndef BOOST_PFR_USE_CPP26 -#if __cpp_structured_bindings >= 202411L && __cpp_lib_forward_like >= 202207L +#if __cplusplus > 202302L && __cpp_structured_bindings >= 202411L && __cpp_lib_forward_like >= 202207L #define BOOST_PFR_USE_CPP26 1 #else #define BOOST_PFR_USE_CPP26 0