File: whatsnew.yo

package info (click to toggle)
c%2B%2B-annotations 12.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 13,044 kB
  • sloc: cpp: 24,337; makefile: 1,517; ansic: 165; sh: 121; perl: 90
file content (92 lines) | stat: -rw-r--r-- 4,823 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
This section is modified when the first or second part of the version number
changes (and occasionally also for the third field of the version number). At
a major version upgrade the entries of the previous major version are kept,
and entries referring to older releases are removed.
    itemization(
    it() Version 12.2.0 takes into account that tt(std::iterator) is
        deprecated. Section ref(ITERATORCONS) was rewritten; section
        ref(OPERATORINDEX) was updated (tt(operator[] const) should return
        tt(Type const &) instead of tt(Type) values); added section
        ref(STRINGVIEW) covering tt(std::string_view); added section
        ref(OSYNC) covering synchronization of output to streams in
        multi-threaded programs; added sections ref(FREEBOUND) and
        ref(BOUNDCONCEPT) about bound-friends; 'typedef' definitions were
        replaced by 'using' declarations.

    it() Version 12.1.0 adds a description of the tt(__file_clock::to_sys)
        static member (section ref(FILECLOCK)), repaired the descriptions
        of tt(pop*()) members of various abstract containers, and reorganized
        the description of the facilities of the tt(filesystem::path) class.

    it() Version 12.0.0 adds a new chapter about coroutines (chapter
        ref(COROUTINES)) and a new section (ref(JTHREAD)) to chapter
        ref(THREADING).

    it() Version 11.6.0 adds section ref(OPTIONAL) to chapter ref(STL) and
        section ref(IOTA) to chapter ref(GENERIC). The tt(std::optional) class
        is used to return values from functions that are optionally available,
        tt(std::iota) is used to fill a range with a sequence of incremented
        values. 

    it() Version 11.5.0 adds section ref(TIE) to chapter ref(STL) showing how
        local variables can directly be associated with structured data
        returned by functions.

    it() Version 11.4.0 contains a complete overhaul of section ref(CONCEPTS),
        covering the C2a em(concepts).

    it() Version 11.3.0 covers the three-way comparison operator (cf. section
        ref(SPACESHIP)) and various comparison classes (cf. section
        ref(COMPARISONS)), added to bf(C++) at the C2a standard. 

    it() Version 11.2.0 moves the (rewritten) coverage of the chrono and
        filesystem namespaces to the Namespaces chapter, and contains a
        rewrite of the sections covering tt(error_codes, error_categories,)
        and tt(error_conditions) (cf. sections ref(ERRORCODE),
        ref(SYSTEMERROR), and ref(ERRCODEENUM)).

    it() Version 11.1.0 contains an almost complete rewrite of the sections
        covering concepts (section ref(CONCEPTS)).

    it() Version 11.0.0 covers new elements and elements that were
        re-introduced at the C2a standard. Version 11.0.0 is made available at
        the time the C2a standard has not yet formally been released, and
        compilers do not yet implement all its new elements. Therefore,
        modifications and updates may be required once the C2a standard has
        officially become the next standard. However, the elements of the new
        standard that are now covered by the annotations() are (mostly)
        supported by compilers. 
            itemization(
            it() Modules (cf. section ref(MODULES)) simplify header
                processing. E.g., when using modules header include guards are
                not required anymore.

            it() The section about unrestricted unions (ref(UNIONS)) received
                a major upgrade, and was moved to chapter ref(MEMORY).

            it() The section about the syntax of lambda expressions (section
                ref(LAMBDA)) received a major upgrade.

            it() Section ref(STDFS) covering the tt(std::filesystem) namespace
                received a new subsection showing which facilities of the
                tt(std::filesystem) namespace are replacing traditional bf(C)
                functions.

            it() Transactional memory (covered in section ref(TRANSMEM))
                simplify access to shared data in multithreaded programs.

            it() Section ref(FOLDEXP) covers em(folding expressions) can be
                used to associate binary operators with a variadic number of
                arguments.

            it() Section ref(TUPLES) received a sub-section covering
                specializing tt(std::tuple) elements in combination with
                structured binding declarations.

            it() Section ref(CONCEPTS) covers concepts (re-introduced into the
                language after having been considered before), allowing template
                writers to define requirements for their templates that must
                be satisfied before their templates can be used.
            )
    )