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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user