mirror of
https://github.com/boostorg/parser.git
synced 2026-01-19 04:22:13 +00:00
Disable the use of concept constraints in Clang < 16.
Fixes #131. Fixes #133.
This commit is contained in:
@@ -79,7 +79,8 @@
|
||||
# define BOOST_PARSER_ALGO_CONSTEXPR
|
||||
#endif
|
||||
|
||||
#if defined(__cpp_lib_concepts) && !defined(BOOST_PARSER_DISABLE_CONCEPTS)
|
||||
#if defined(__cpp_lib_concepts) && !defined(BOOST_PARSER_DISABLE_CONCEPTS) && \
|
||||
(!defined(__clang__) || 16 <= __clang__)
|
||||
# define BOOST_PARSER_USE_CONCEPTS 1
|
||||
#else
|
||||
# define BOOST_PARSER_USE_CONCEPTS 0
|
||||
|
||||
Reference in New Issue
Block a user