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

前端 未结 0 1303
刺人心
刺人心 2021-02-11 18:24

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

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