From bb2a18a3a8736069af6d03965e77aaa89c6a1eed Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Thu, 14 Feb 2019 15:12:57 +0000 Subject: [PATCH] Update libstdc++ documentation for implementation status * doc/xml/manual/status_cxx2017.xml: Add P0063R3 to status table. * doc/html/*: Regenerate. From-SVN: r268883 --- libstdc++-v3/ChangeLog | 3 ++ libstdc++-v3/doc/html/manual/bugs.html | 24 +++++++++++++++- libstdc++-v3/doc/html/manual/status.html | 28 +++++++++++++++---- .../doc/xml/manual/status_cxx2017.xml | 11 ++++++++ 4 files changed, 59 insertions(+), 7 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4790afba1e7..bee73caca57 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,8 @@ 2019-02-14 Jonathan Wakely + * doc/xml/manual/status_cxx2017.xml: Add P0063R3 to status table. + * doc/html/*: Regenerate. + * doc/xml/manual/intro.xml: Document LWG 2586 status. * include/bits/uses_allocator.h (__uses_alloc): Use const lvalue allocator type in is_constructible checks. diff --git a/libstdc++-v3/doc/html/manual/bugs.html b/libstdc++-v3/doc/html/manual/bugs.html index 9d6651010b9..208ec296743 100644 --- a/libstdc++-v3/doc/html/manual/bugs.html +++ b/libstdc++-v3/doc/html/manual/bugs.html @@ -500,14 +500,36 @@

Avoid using dynamic_cast when it would be ill-formed. +

2537: + Requirements on the first template parameter of container adaptors + +

Add static assertions to enforce the requirement. +

2566: + Constructors for priority_queue taking allocators + should call make_heap + +

Call make_heap.

2583: There is no way to supply an allocator for basic_string(str, pos) -

Add new constructor +

Add new constructor. +

2586: + Wrong value category used in scoped_allocator_adaptor::construct() + +

Change internal helper for uses-allocator construction + to always check using const lvalue allocators.

2684: priority_queue lacking comparator typedef

Define the value_compare typedef. +

2735: + std::abs(short), + std::abs(signed char) and others should return + int instead of double in order to be + compatible with C++98 and C + +

Resolved by the changes for + 2192.

2770: tuple_size<const T> specialization is not SFINAE compatible and breaks decomposition declarations diff --git a/libstdc++-v3/doc/html/manual/status.html b/libstdc++-v3/doc/html/manual/status.html index 12853f7a915..d66f901f1aa 100644 --- a/libstdc++-v3/doc/html/manual/status.html +++ b/libstdc++-v3/doc/html/manual/status.html @@ -548,7 +548,11 @@ Feature-testing recommendations for C++. N4259 - 6.1__cpp_lib_uncaught_exceptions >= 201411 Variant: a type-safe union for C++17 + 6.1__cpp_lib_uncaught_exceptions >= 201411 C++17 should refer to C11 instead of C99 + + P0063R3 + + 9.1   Variant: a type-safe union for C++17 P0088R3 @@ -821,7 +825,19 @@ Feature-testing recommendations for C++. P0067R5 8.1 (only integral types supported) __has_include(<charconv>) - __cpp_lib_to_chars >= 201611

+ __cpp_lib_to_chars >= 201611 Homogeneous interface for variant, any and optional + + P0032R3 + + 7.1 + __cpp_lib_any >= 201606 , + __cpp_lib_optional >= 201606 , + __cpp_lib_variant >= 201606 + Making Optional Greater Equal Again + + P0307R2 + + 7.1 __cpp_lib_optional >= 201606

Note 1: This feature is supported in GCC 7.1 and 7.2 but before GCC 7.3 the __cpp_lib macro is not defined, and compilation will fail if the header is included without using -std to enable C++17 support. @@ -1037,11 +1053,11 @@ Feature-testing recommendations for C++. P0550R2 - 9.1   nodiscard in the Library + 9.1   nodiscard in the Library P0600R1 -   de-pessimize legacy algorithms with std::move + 9.1   de-pessimize legacy algorithms with std::move P0616R0 @@ -1273,11 +1289,11 @@ Feature-testing recommendations for C++. P1085R2 -   Editorial Guidance for merging P0019r8 and P0528r3 +   Editorial Guidance for merging P0019r8 and P0528r3 P1123R0 -   Cleaning up Clause 20 + Note 1   Cleaning up Clause 20 P1148R0 diff --git a/libstdc++-v3/doc/xml/manual/status_cxx2017.xml b/libstdc++-v3/doc/xml/manual/status_cxx2017.xml index c9913a9e3a7..bb82e34bba7 100644 --- a/libstdc++-v3/doc/xml/manual/status_cxx2017.xml +++ b/libstdc++-v3/doc/xml/manual/status_cxx2017.xml @@ -90,6 +90,17 @@ Feature-testing recommendations for C++. __cpp_lib_uncaught_exceptions >= 201411 + + C++17 should refer to C11 instead of C99 + + + P0063R3 + + + 9.1 + + + Variant: a type-safe union for C++17 -- 2.30.2