Skip to content
New issue

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

反向迭代器的后置++是不是写反了 #37

Open
szh-maker opened this issue Nov 6, 2022 · 1 comment
Open

反向迭代器的后置++是不是写反了 #37

szh-maker opened this issue Nov 6, 2022 · 1 comment

Comments

@szh-maker
Copy link

reverse_iterator_t& operator ++(int){
reverse_iterator_t temp = *this;
++(*this);
return temp;
}

@zouxiaohang
Copy link
Owner

zouxiaohang commented Nov 6, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants