Should I use C++0x Features Now?

前端 未结 6 976
悲&欢浪女
悲&欢浪女 2021-02-07 01:41

With the official release of VS 2010, is it safe for me to start using the partially-implemented C++0x feature set in my new code?

The features that are of interest to m

6条回答
  •  猫巷女王i
    2021-02-07 02:16

    If you expect your code to be untouched for years and want it to survive compiler changes with no intervention I would suggest you stick to C++98/03.

    However most code is maintained over time so I don't think this is such an important consideration. I would recommend using what makes your code better and plan for some work when you upgrade compilers.

提交回复
热议问题