We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We have several standard library iterators that define operator++(int) exactly the same way:
operator++(int)
auto tmp = *this; ++*this; return tmp;
We should add blanket wording saying that unless otherwise specified, an operator++(int) is defined that way, and similarly for operator--(int).
operator--(int)
The text was updated successfully, but these errors were encountered:
Duplicate of #4690.
Sorry, something went wrong.
Oops, forgot I already opened an issue for this, thanks.
jwakely
No branches or pull requests
We have several standard library iterators that define
operator++(int)
exactly the same way:We should add blanket wording saying that unless otherwise specified, an
operator++(int)
is defined that way, and similarly foroperator--(int)
.The text was updated successfully, but these errors were encountered: