Will TR2 be released in C ++ 17?

TR2 has a lot of sweet things. Will it be in C ++ 17 ?

I understand that TR1 was completed in 2005 and had to wait for the standardization of C ++ 11. But I also understand that TR2 is already completed?

My C ++ 17 link says nothing about TR2, but I hope ...

+4
source share
3 answers

May be.

The TR point (and now the technical specifications) should allow something to mature, regardless of the standard iteration process. They can publish TS, see how it works, see if there are any problems when implementing and / or using this function, and if everything works, they will be able to β€œminimize” it to the full standard.

Each TS is reviewed essentially to see if it will add up to the next standard.

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

Any of them, if it is completed long before 2017, can be folded into a standard. It is unlikely that they will all be.

The goal is that we can get the std::experimental functions to play with (and use if we are ready to accept ground displacement under our feet) earlier, while having functions added after std with less regrets and specification changes after that point . There are probably also huge organizational overhead advantages for decoupling the main line standard from each of these side projects and ensuring their independent evolution.

+4
source

The purpose of the Technical Report or Technical Specification, as at the present time, is to gain implementation experience and feedback from developers and users in order to better assess the suitability of functions for standardization. It is necessary for the crystal ball to know whether a particular TS will be included in a future standard and what future standard may be.

Version 1 of the TS Library Fundamentals seems to have passed its final vote at a committee meeting in November 2014, and version 2 is being developed to include feedback and new suggestions. This means that it is getting closer to what the developers and users of the industry are satisfied with, and version 1 is now an unchanging specification that developers can choose. For later versions, as well as later standards, it is perhaps more than possible to change something that would be incompatible with version 1.

+3
source

Here's a list (from your Wikipedia link) of TR2 features - and my comments:

  • Themes - Included in C ++ 11
  • Asio C ++ library - this is being considered for the future C ++ standard
  • Signals / Slots - no at this time (what I know)
  • File System Library - FileSystem Technical Specification
  • Boost Any library - part of the technical specifications of the library
  • Lexical conversion library - no at this time (what I know)
  • New string algorithms - no action at this time (what I know)
  • Towards a more complete taxonomy of algebraic properties for number libraries in TR2 - no action at this time (what I know)
  • Adding heterogeneous comparison search to associative containers for TR2 - * Included in C ++ 14 *
+1
source

Source: https://habr.com/ru/post/1207445/


All Articles