Using C++ std::vector push_back() or insert() with nothrow

后端 未结 0 643
你的背包
你的背包 2020-12-17 18:49

I would like to use the std::vector without exceptions. In my section of code, I am using all new calls with the (std::nothrow) to prevent it to throw.

But in case of

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