Search code examples
c++c++11tr1c++17c++-tr2

Is TR2 Going to be Released in C++17?


There is lots of sweet stuff in TR2. Is that going to be in C++17?

I understand that TR1 was completed in 2005 and had to wait until C++11 to be standardized. But I also understand that TR2 is already complete?

My link to C++17 doesn't mention anything about TR2, but I am hoping...


Solution

  • Maybe.

    The point of TR (and now technical specifications) is to allow something to mature independent of the standard iteration process. They can publish a TS, see how it works, see if there are any problems in the implementation and/or use of the feature, and if everything works they can then "fold" it into the full standard.

    Each TS is considered on its own merits to see if it will be folded into the next standard.

    See http://isocpp.org/std/status (thanks @BenjaminLindley) for current status of the Technical Specification working groups.

    Any of them, if completed well prior to 2017, could be folded into the standard. It is unlikely they all will be.

    A goal is that we can get the std::experimental features to play with (and use if we are willing to accept the ground shifting under our feet) earlier, while having the features once added to std with fewer regrets and specification changes after that point. There are probably also massive organizational overhead advantages to decoupling the main line standard from each of these side projects and allowing them to evolve independently.