Is there a list of STL container methods that may throw an exception anywhere?

后端 未结 2 1148
旧巷少年郎
旧巷少年郎 2021-02-07 17:52

I know the STL will throw on a memory allocation error or if the contained type throws in its constructor / assignment operator.

Otherwise, apparently \'a few\' STL meth

2条回答
  •  既然无缘
    2021-02-07 18:36

    Well, I have this big, gigantic book titled, The C++ Standard, that contains a complete description of all functions in the standard library and what they can/cannot do.

提交回复
热议问题