Should I use C++0x Features Now?
- by svu2g
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 me right now are both implemented by VC++ 2010 and recent versions of GCC. These are the only two that I have to support.
In terms of the "safety" mentioned in the first sentence: can I start using these features (e.g., lambda functions) and still be guaranteed that my code will compile in 10 years on a compiler that properly conforms to C++0x when it is officially released?
I guess I'm asking if there is any chance that VC++ 2010 or GCC will end up like VC++ 6; it was released before the language was officially standardized and consequently allowed grossly ill-formed code to compile.
After all, Microsoft does say that "10 is the new 6". ;)