Skip to content

Commit 98f947d

Browse files
committed
check for ranges when deciding whether to uses ranges
1 parent e1cfa03 commit 98f947d

File tree

1 file changed

+1
-1
lines changed
  • include/boost/parser/detail/text/detail

1 file changed

+1
-1
lines changed

include/boost/parser/detail/text/detail/all_t.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ namespace boost::parser::detail::text::detail {
4242
template<typename R>
4343
constexpr bool view =
4444
#if BOOST_PARSER_DETAIL_TEXT_USE_CONCEPTS || \
45-
(defined(__cpp_lib_concepts) && \
45+
(defined(__cpp_lib_ranges) && \
4646
(!defined(BOOST_PARSER_GCC) || 12 <= __GNUC__))
4747
std::ranges::view<R>
4848
#else

0 commit comments

Comments
 (0)