Preparing for the next C++ standard

前端 未结 5 2046
渐次进展
渐次进展 2021-02-07 10:50

The spate of questions regarding BOOST_FOREACH prompts me to ask users of the Boost library what (if anything) they are doing to prepare their code for portability

5条回答
  •  梦如初夏
    2021-02-07 11:21

    You may actually always prefer using the Boost version for a long time. Especially if you need to compile on multiple platforms.

    The Boost libraries are ported and tested on multiple platforms and behave the same there (most of the time.)

    The first vendor implementations of the new C++ libraries may still contain minor bugs and performance differences just like it was such a mess when STL and the std namespace were added.

提交回复
热议问题