Can constructing an empty std::optional call T's default constructor?

前端 未结 0 1900
野的像风
野的像风 2021-01-05 21:05

Is the object stored inside an instance of std::optional guaranteed to be initialised in-place with placement new? This is what I would ex

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