Swapping with rvalues

后端 未结 0 1160
予麋鹿
予麋鹿 2021-02-13 07:34

Suppose I want swap that works on rvalues, and don\'t want to write 4 versions for all combinations of rvalue/lvalue references (rvalue/rvalue version is kinda poin

相关标签:
回答
  • 消灭零回复
提交回复
热议问题