Swapping with rvalues

后端 未结 0 1061
终归单人心
终归单人心 2021-02-13 07:59

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

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