2
0
mirror of https://github.com/boostorg/atomic.git synced 2026-01-19 04:02:09 +00:00

Lower C++17 template deduction guides version check.

Checking against version 201606 allows to enable template deduction
guides starting with gcc 7 and clang 5.
This commit is contained in:
Andrey Semashev
2022-01-20 22:50:15 +03:00
parent bf08155d16
commit e75e25bcd0

View File

@@ -69,7 +69,7 @@
#define BOOST_ATOMIC_DETAIL_NO_CXX11_CONSTEXPR_UNION_INIT
#endif
#if !defined(__cpp_deduction_guides) || __cpp_deduction_guides < 201703
#if !defined(__cpp_deduction_guides) || __cpp_deduction_guides < 201606
#define BOOST_ATOMIC_DETAIL_NO_CXX17_DEDUCTION_GUIDES
#endif // !defined(__cpp_deduction_guides) || __cpp_deduction_guides < 201703