What breaking changes are introduced in C++11?

后端 未结 9 1793
陌清茗
陌清茗 2020-11-22 14:34

I know that at least one of the changes in C++11 that will cause some old code to stop compiling: the introduction of explicit operator bool() in the standard l

9条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-22 15:31

    There are numerous changes to the containers library that allow more efficient code but silently break backwards compatibility for a few corner cases.

    Consider, for example, std::vector, default construction, C++0x, and breaking changes.

提交回复
热议问题