Another noobish question, std::allocator-related

后端 未结 0 1798
时光取名叫无心
时光取名叫无心 2021-01-01 07:26

C++20 removed std::allocator\'s members construct and destruct. How am I supposed to construct my objects allocated through std::allocator::allocate? I found out std::uninit

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