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
{{ message }}
Repository navigation
[range.range] Redundant paragraph about expression variations LWG3915 #4431
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.
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.
changed the title [-][range.range] Redudant paragraph about expression variations[/-][+][range.range] Redudant paragraph about expression variations LWG3915[/+]on Apr 2, 2023
changed the title [-][range.range] Redudant paragraph about expression variations LWG3915[/-][+][range.range] Redundant paragraph about expression variations LWG3915[/+]on Apr 2, 2023
Activity
JohelEGP commentedon Dec 24, 2020
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.jensmaurer commentedon Jan 3, 2021
@jwakely , do you feel we can editorially remove p2, or should this get LWG review?
JohelEGP commentedon Apr 1, 2023
Requested for an issue to be opened.
Dani-Hub commentedon Apr 2, 2023
@JohelEGP A new library has been created, see LWG 3915.
[-][range.range] Redudant paragraph about expression variations[/-][+][range.range] Redudant paragraph about expression variations LWG3915[/+][-][range.range] Redudant paragraph about expression variations LWG3915[/-][+][range.range] Redundant paragraph about expression variations LWG3915[/+]JohelEGP commentedon Oct 14, 2024