Is it useless to declare a local variable as rvalue-reference, e.g. T&& r = move(v)?

前端 未结 0 977
我在风中等你
我在风中等你 2021-02-11 19:58

Could you guys give me an illustrative example under certain circumstance to prove the following statements are useful and necessary?

AnyTypeMovable   v;
AnyType         


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