diff --git a/impl/concat/concat.hpp b/impl/concat/concat.hpp index a188477..b1e2eb7 100644 --- a/impl/concat/concat.hpp +++ b/impl/concat/concat.hpp @@ -34,12 +34,17 @@ using concat_rvalue_reference_t = common_reference_t using concat_value_t = common_type_t...>; +template +concept concat_no_prref = is_reference_v || + (is_reference_v && + !same_as, ConcatRef>); + // clang-format off template concept concat_indirectly_readable_impl = requires (const It it){ { *it } -> convertible_to; { ranges::iter_move(it) } -> convertible_to; -}; +} && concat_no_prref>; template concept concat_indirectly_readable =