May I safely use the address of a C++ STL vector element? How?

后端 未结 0 642
北恋
北恋 2020-12-24 07:50

I want to add an element to a C++ STL vector and then return its address. Perhaps that is not "safe" or possible? If it is a reasonable thing to do, I am not havin

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