mirror of
https://github.com/boostorg/parser.git
synced 2026-01-26 06:42:25 +00:00
Fix improperly macro-disabled enable_borrowed_range specializations, to fix
MSVC builds.
This commit is contained in:
@@ -800,12 +800,12 @@ namespace boost::parser::detail { namespace text {
|
||||
|
||||
}}
|
||||
|
||||
#if BOOST_PARSER_DETAIL_TEXT_USE_CONCEPTS
|
||||
|
||||
namespace std::ranges {
|
||||
#if BOOST_PARSER_DETAIL_TEXT_USE_CONCEPTS
|
||||
template<class V, auto F>
|
||||
inline constexpr bool enable_borrowed_range<boost::parser::detail::text::project_view<V, F>> =
|
||||
enable_borrowed_range<V>;
|
||||
#endif
|
||||
|
||||
template<class V>
|
||||
inline constexpr bool enable_borrowed_range<boost::parser::detail::text::unpacking_view<V>> =
|
||||
@@ -829,5 +829,3 @@ namespace std::ranges {
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user