is the current GCC / C ++ 14 beta status, and therefore is GCC / C ++ 14 not ready for production code?
It depends on what features you use. make_unique very simple, easy to implement and should be safe to use.
Some of the other new features (especially the core functions of the language) required a lot more work to implement and may have more bugs waiting to be found and fixed.
Therefore, there is no answer “ready” or “not ready”.
However, it is important to remember that although it is still labeled experimental, there is no attempt to maintain backward compatibility between GCC 4.x and GCC 5, for example. Therefore, if you have C ++ 11 code built with GCC 4.8, you need to recompile it all if you want to link yourself to other C ++ 11 / C ++ 14 objects built with 4.9, and similarly, if / when switching to GCC 5: recompile all objects using C ++ 11 or C ++ 14 (since types such as std::tuple have changed the data structure in GCC 5).
For C ++ 03 code, we do not change the definition between releases, therefore they are stable.
Jonathan wakely
source share