Preparing for the next C++ standard

前端 未结 5 2045
渐次进展
渐次进展 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:02

    No we don't, as of yet, given the facts that:

    • support for C++0x is not yet upto the mark across the various platforms (we need) and
    • that it is yet to be declared a standard officially

    But yes, we do use Boost as and when required (but of course, only after a release has gone through a sanitation phase do we use it) just like any other third party library that we use. Also, we use the source form on a as-needed basis.

    There is however an effort towards more stringent adoption of the driving principles in product design phase (e.g. move-ctor etc).

    There is definitely going to be some work when C++0x gets standardised; but that will also require us to move on to some of newer compilers (vc10?) and moving on to a new compiler is always a task in it's own.

提交回复
热议问题