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
Many iterators defined in the library repeat the same wording:
Effects: Equivalent to:
auto tmp = *this;
++*this;
return tmp;
We should add front matter which says that when no detailed specification is present for operator++(int) it has the semantics shown above, and the equivalent with -- for operator--(int).
This would probably belong in [functions.within.classes].
This touches a lot of the library and should probably get checked by LWG, but still seems editorial to me.
The text was updated successfully, but these errors were encountered:
Many iterators defined in the library repeat the same wording:
We should add front matter which says that when no detailed specification is present for
operator++(int)
it has the semantics shown above, and the equivalent with--
foroperator--(int)
.This would probably belong in [functions.within.classes].
This touches a lot of the library and should probably get checked by LWG, but still seems editorial to me.
The text was updated successfully, but these errors were encountered: