2
0
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:
Zach Laine
2024-01-20 09:28:38 -06:00
parent a68c1d3187
commit eb68bacfbb

View File

@@ -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