Do const references in structured bindings extend the lifetime of the decomposed object?

前端 未结 0 1592
[愿得一人]
[愿得一人] 2021-02-11 18:14

Does writing const auto& [a, b] = f(); guarantee extending the lifetime of the object returned from f(), or at least the objects a and

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