From e0bcedba6132fa5c75cb22b9232dbe72c7b3fea0 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Thu, 8 May 2025 14:48:16 +0100 Subject: [PATCH] libstdc++: Update rows in C++17 status table MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Document that std::to_chars and std::from_chars are complete, mentioning the libraries used for floating-point types. libstdc++-v3/ChangeLog: * doc/xml/manual/status_cxx2017.xml: Update status for std::to_chars and std::from_chars. * doc/html/manual/*: Regenerate. Reviewed-by: Jakub Jelinek Reviewed-by: Björn Schäpers --- .../doc/html/manual/source_code_style.html | 2 +- libstdc++-v3/doc/html/manual/status.html | 17 ++++++++++++- .../doc/xml/manual/status_cxx2017.xml | 25 ++++++++++++++++--- 3 files changed, 38 insertions(+), 6 deletions(-) diff --git a/libstdc++-v3/doc/html/manual/source_code_style.html b/libstdc++-v3/doc/html/manual/source_code_style.html index b0b22683f67c..a66e3a079471 100644 --- a/libstdc++-v3/doc/html/manual/source_code_style.html +++ b/libstdc++-v3/doc/html/manual/source_code_style.html @@ -474,7 +474,7 @@
      Examples:  _M_num_elements  _M_initialize ()

-      Static data members, constants, and enumerations: _S_.*
+      Static data and function members, constants, and enumerations: _S_.*

      Examples: _S_max_elements  _S_default_value

diff --git a/libstdc++-v3/doc/html/manual/status.html b/libstdc++-v3/doc/html/manual/status.html index 3d55e2652729..5668c69664cd 100644 --- a/libstdc++-v3/doc/html/manual/status.html +++ b/libstdc++-v3/doc/html/manual/status.html @@ -927,7 +927,22 @@ since C++14 and the implementation is complete. 23 General utilities - 23.1General  23.2Utility components  23.2.1Header <utility> synopsis  23.2.2OperatorsY 23.2.3swapY 23.2.4exchangeY 23.2.5Forward/move helpersY 23.2.6Function template as_constY 23.2.7Function template declvalY 23.2.8Primitive numeric output conversionPartial 23.2.9Primitive numeric input conversionPartial 23.3Compile-time integer sequences  23.4PairsY 23.5TuplesY 23.6Optional objectsY 23.7VariantsY 23.8Storage for any typeY 23.9BitsetsY 23.10MemoryY 23.10.1In general  23.10.2Header <memory> synopsisY 23.10.3Pointer traitsY 23.10.4Pointer safetyY 23.10.5AlignY 23.10.6Allocator argument tagY 23.10.7uses_allocatorY 23.10.8Allocator traitsY 23.10.9The default allocatorY 23.10.10Specialized algorithmsY 23.10.11C library memory allocationY 23.11Smart pointers  23.11.1Class template unique_ptrY 23.11.2Shared-ownership pointersY 23.12Memory resources  23.12.1Header <memory_resource> synopsisY 23.12.2Class memory_resourceY 23.12.3Class template polymorphic_allocatorY 23.12.4Access to program-wide memory_resource objectsY 23.12.5Pool resource classesY 23.12.6Class monotonic_buffer_resourceY 23.13Class template scoped_allocator_adaptorY 23.14Function objects  23.14.1Header <functional> synopsis  23.14.2Definitions  23.14.3Requirements  23.14.4Function template invokeY 23.14.5Class template reference_wrapperY 23.14.6Arithmetic operationY 23.14.7ComparisonsY 23.14.8Logical operationsY 23.14.9Bitwise operationsY 23.14.10Function template not_fnY 23.14.11Function object bindersY 23.14.12Function template mem_fnY 23.14.13Polymorphic function wrappersY 23.14.14SearchersY 23.14.15Class template hashY 23.15Metaprogramming and type traits  23.15.1Requirements  23.15.2Header <type_traits> synopsisY 23.15.3Helper classesY 23.15.4Unary Type TraitsY 23.15.5Type property queriesY 23.15.6Relationships between typesY 23.15.7Transformations between typesY 23.15.8Logical operator traitsY 23.16Compile-time rational arithmeticY 23.17.1In general  23.17.2Header <chrono> synopsis  23.17Time utilities  23.17.3Clock requirementsY 23.17.4Time-related traitsY 23.17.5Class template durationY 23.17.6Class template time_pointY 23.17.7ClocksY 23.17.8Header <ctime> synopsisY 23.18Class type_indexY 23.19Execution policies  23.19.1In general  23.19.2Header <execution> synopsis  23.19.3Execution policy type traitY 23.19.4Sequenced execution policyY 23.19.5Parallel execution policyY 23.19.6Parallel and unsequenced execution policyY 23.19.7Execution policy objectsY  + 23.1General  23.2Utility components  23.2.1Header <utility> synopsis  23.2.2OperatorsY 23.2.3swapY 23.2.4exchangeY 23.2.5Forward/move helpersY 23.2.6Function template as_constY 23.2.7Function template declvalY 23.2.8Primitive numeric output conversionY + Floating-point types up to 64-bit are formatted using + Ryu. + Types with greater precision are formatted using the C library + (sprintf and conditionally + strfromf128). + For powerpc64le-unknown-linux-gnu __sprintfieee128 + must be provided by Glibc. + 23.2.9Primitive numeric input conversionY + Floating-point types up to 64-bit are parsed using + fast_float. + Types with greater precision are parsed using the C library + (strtold). + For powerpc64le-unknown-linux-gnu __strtoieee128 + must be provided by Glibc. + 23.3Compile-time integer sequences  23.4PairsY 23.5TuplesY 23.6Optional objectsY 23.7VariantsY 23.8Storage for any typeY 23.9BitsetsY 23.10MemoryY 23.10.1In general  23.10.2Header <memory> synopsisY 23.10.3Pointer traitsY 23.10.4Pointer safetyY 23.10.5AlignY 23.10.6Allocator argument tagY 23.10.7uses_allocatorY 23.10.8Allocator traitsY 23.10.9The default allocatorY 23.10.10Specialized algorithmsY 23.10.11C library memory allocationY 23.11Smart pointers  23.11.1Class template unique_ptrY 23.11.2Shared-ownership pointersY 23.12Memory resources  23.12.1Header <memory_resource> synopsisY 23.12.2Class memory_resourceY 23.12.3Class template polymorphic_allocatorY 23.12.4Access to program-wide memory_resource objectsY 23.12.5Pool resource classesY 23.12.6Class monotonic_buffer_resourceY 23.13Class template scoped_allocator_adaptorY 23.14Function objects  23.14.1Header <functional> synopsis  23.14.2Definitions  23.14.3Requirements  23.14.4Function template invokeY 23.14.5Class template reference_wrapperY 23.14.6Arithmetic operationY 23.14.7ComparisonsY 23.14.8Logical operationsY 23.14.9Bitwise operationsY 23.14.10Function template not_fnY 23.14.11Function object bindersY 23.14.12Function template mem_fnY 23.14.13Polymorphic function wrappersY 23.14.14SearchersY 23.14.15Class template hashY 23.15Metaprogramming and type traits  23.15.1Requirements  23.15.2Header <type_traits> synopsisY 23.15.3Helper classesY 23.15.4Unary Type TraitsY 23.15.5Type property queriesY 23.15.6Relationships between typesY 23.15.7Transformations between typesY 23.15.8Logical operator traitsY 23.16Compile-time rational arithmeticY 23.17.1In general  23.17.2Header <chrono> synopsis  23.17Time utilities  23.17.3Clock requirementsY 23.17.4Time-related traitsY 23.17.5Class template durationY 23.17.6Class template time_pointY 23.17.7ClocksY 23.17.8Header <ctime> synopsisY 23.18Class type_indexY 23.19Execution policies  23.19.1In general  23.19.2Header <execution> synopsis  23.19.3Execution policy type traitY 23.19.4Sequenced execution policyY 23.19.5Parallel execution policyY 23.19.6Parallel and unsequenced execution policyY 23.19.7Execution policy objectsY  24 Strings diff --git a/libstdc++-v3/doc/xml/manual/status_cxx2017.xml b/libstdc++-v3/doc/xml/manual/status_cxx2017.xml index 48a0317950c3..c90f91e286b5 100644 --- a/libstdc++-v3/doc/xml/manual/status_cxx2017.xml +++ b/libstdc++-v3/doc/xml/manual/status_cxx2017.xml @@ -1183,14 +1183,31 @@ since C++14 and the implementation is complete. 23.2.8 Primitive numeric output conversion - Partial - + Y + + Floating-point types up to 64-bit are formatted using + Ryu. + Types with greater precision are formatted using the C library + (sprintf and conditionally + strfromf128). + For powerpc64le-unknown-linux-gnu __sprintfieee128 + must be provided by Glibc. + 23.2.9 Primitive numeric input conversion - Partial - + Y + + Floating-point types up to 64-bit are parsed using + fast_float. + Types with greater precision are parsed using the C library + (strtold). + For powerpc64le-unknown-linux-gnu __strtoieee128 + must be provided by Glibc. + 23.3 -- 2.47.2