2
0
mirror of https://github.com/boostorg/parser.git synced 2026-01-19 04:22:13 +00:00

Fix broken constraint on 2-param utf_iterator ctor in C++17 mode.

This commit is contained in:
Zach Laine
2024-03-02 19:26:08 -06:00
parent 4235706764
commit 0e2936e20d

View File

@@ -2677,7 +2677,7 @@ namespace boost::parser::detail { namespace text {
#if !BOOST_PARSER_DETAIL_TEXT_USE_CONCEPTS
template<
typename J = I,
typename Enable = std::enable_if_t<is_bidirectional<J>>>
typename Enable = std::enable_if_t<!is_bidirectional<J>>>
#endif
constexpr utf_iterator(I it, S last)
#if BOOST_PARSER_DETAIL_TEXT_USE_CONCEPTS