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

在util.h的swap_range中, 直接使用(void) ++first2生成的是表达式的值还是实际改变了first2啊,如果不能实际改变first2,那这个swap_range 好像只能用在同类型或隐式转换的情况 #95

Closed
kgp123123 opened this issue Oct 28, 2021 · 0 comments

Comments

@kgp123123
Copy link

No description provided.

@kgp123123 kgp123123 changed the title 在util.h的swap_range中, 直接使用(void) ++first2生成的是表达式的值还是实际改变了副irst 在util.h的swap_range中, 直接使用(void) ++first2生成的是表达式的值还是实际改变了first2啊,如果不能实际改变first2,那这个swap_range 好像只能用在同类型或隐式转换的情况 Oct 28, 2021
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

1 participant