Returns rvalue reference when possible, or just the decayed type when not possible

前端 未结 0 1314
甜味超标
甜味超标 2021-02-10 11:29

I want to develop a dereference function for optional

When I give an lvalue reference to the function, I want the return type to be an lvalue reference. (i.e int&am

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