You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expression variations kick in for "an expression that is non-modifying for some constant lvalue operand", but std::ranges::range's is an non-constant lvalue, so p2 is redundant.
The text was updated successfully, but these errors were encountered:
I suppose that the change that clarified the template parameters' cv-qualification for purposes of equality-preservation and requiring additional variations happened concurrently with the change of std::ranges::range's operand from a forwarding reference to a non-constant lvalue reference.
JohelEGP
changed the title
[range.range] Redudant paragraph about expression variations
[range.range] Redudant paragraph about expression variations LWG3915
Apr 2, 2023
JohelEGP
changed the title
[range.range] Redudant paragraph about expression variations LWG3915
[range.range] Redundant paragraph about expression variations LWG3915
Apr 2, 2023
Expression variations kick in for "an expression that is non-modifying for some constant lvalue operand", but
std::ranges::range
's is an non-constant lvalue, so p2 is redundant.The text was updated successfully, but these errors were encountered: