Namespaces
Variants
Views
Actions

Experimental C++ Features

From cppreference.com
< cpp

The C++ standards committee publishes experimental C++ language and library extensions for future standardization.

Note: until 2012, these publications used the TR (technical report) format. Since 2012 ISO procedure changed to use the TS (technical specification) format.

Contents

[edit] TR/TS specifications

ISO number Name Status Links, headers
ISO/IEC TR 18015:2006 Technical Report on C++ Performance Published 2006 (ISO store).

Draft: TR18015 (2006-02-15).

ISO/IEC TR 19768:2007 Technical Report on C++ Library Extensions Published 2007-11-15 (ISO store).

Draft: N1836 (2005-06-24)
ISO 29124 split off, the rest merged into C++11.

ISO/IEC 29124:2010 Extensions to the C++ Library to support mathematical special functions Published 2010-09-03 (ISO Store).

Final draft: N3060 (2010-03-06).
Merged into C++17.

Special functions
ISO/IEC TR 24733:2011 Extensions for the programming language C++ to support decimal floating-point arithmetic Published 2011-10-25 (ISO Store)

Draft: N2849 (2009-03-06).
May be superseded by a future TS or merged into a future revision of C++ (most recent merge proposal was N3871).

ISO/IEC TS 18822:2015 C++ File System Technical Specification Published 2015-06-18 (ISO store). Final draft: N4100 (2014-07-04).

Merged into C++17.

Filesystem, <filesystem>
ISO/IEC TS 19570:2015 C++ Extensions for Parallelism Published 2015-06-24. (ISO Store). Final draft: N4507 (2015-05-05).

Merged into C++17.

Parallelism
ISO/IEC TS 19841:2015 Transactional Memory TS Published 2015-09-16, (ISO Store). Final draft: N4514 (2015-05-08). Transactional memory
ISO/IEC TS 19568:2015 C++ Extensions for Library Fundamentals Published 2015-09-30, (ISO Store). Final draft: N4480 (2015-04-07).

Merged into C++17 except for invocation traits.

Library extensions
ISO/IEC TS 19217:2015 C++ Extensions for Concepts Published 2015-11-13 (ISO Store). Final draft: N4553 (2015-10-02). Current draft: P0734R0 (2017-07-14).

Merged into C++20 (with modifications).

Constraints and concepts, <concepts>
ISO/IEC TS 19571:2016 C++ Extensions for Concurrency Published 2016-01-19 (ISO Store). Final draft: P0159R0 (2015-10-22).

Partially merged into C++20.

Concurrency
ISO/IEC TS 19568:2017 C++ Extensions for Library Fundamentals, Version 2 Published 2017-03-30 (ISO Store). Draft: N4617 (2016-11-28).

Partially merged into C++17 and C++20.

Library extensions 2
ISO/IEC TS 21425:2017 Ranges TS Published 2017-12-05 (ISO Store). Draft: N4685 (2017-07-31).

Merged into C++20.

Ranges, <ranges>
ISO/IEC TS 22277:2017 Coroutines TS Published 2017-12-05 (ISO Store). Draft: N4736 (2018-03-31). Latest draft: N4775 (2018-10-07).

Merged into C++20.

<coroutine>
ISO/IEC TS 19216:2018 Networking TS Published 2018-04-24 (ISO Store). Draft: N4734 (2017-04-04). Latest draft: N4771 (2018-10-08).
See also non-TS proposals
  • Standard Secure Networking - P2586R0 (2022-09-13)
  • Sender-Receiver Interface For Networking - P2762R2 (2023-10-12)
Networking
ISO/IEC TS 21544:2018 Modules TS Published 2018-05-16 (ISO Store). Final Draft: N4720 (2018-01-29).

Merged into C++20.

ISO/IEC TS 19570:2018 Parallelism TS Version 2 Published 2018-11-15 (ISO Store). Final draft: N4793 (2018-11-26). Post-publication draft: N4808 (2019-03-11). See also non-TS std::simd proposals below. Parallelism 2
ISO/IEC TS 23619:2021 Reflection TS Published 2021-10-11 (ISO store). Draft: N4856 (2020-03-02). See also non-TS proposals below. Reflection
Numerics Early development. Draft: P1889R1 (2019-12-27).
ISO/IEC TS 9922 Concurrency TS Version 2 Published 2024-10-09 (ISO Store). Draft: N4956 (2023-07-05). Concurrency 2
ISO/IEC TS 19568:2024 C++ Extensions for Library Fundamentals, Version 3 Published 2024-08-26 (ISO Store). Draft: N4948 (2023-05-08). Library extensions 3
ISO/IEC DTS 12907 Transactional Memory TS, Version 2 Early development. Draft: N4923 (2022-10-14).
ISO/IEC NP 19569 Array Extensions TS × Withdrawn. Abandoned draft: N3820 (2013-10-10).

[edit] Non-TS proposals

Name Status Links, Headers
Linear Algebra Merged into C++26. Proposal: P1673R13 (2023-11-10).
More proposals:
  • A proposal to add linear algebra support to the C++ standard library - P1385R7 (2022-10-15)
  • Evolving a Standard C++ Linear Algebra Library from the BLAS - P1674R2 (2022-05-15)
  • Presentation of P1385R7 to LEWG at Issaquah 2023 - P2802R0 (2023-02-09)
  • Fix C++26 by optimizing linalg::conjugated for non-complex value types - P3050R2 (2024-08-13)
  • Fix C++26 by making the symmetric and Hermitian rank-k and rank-2k updates consistent with the BLAS - P3371R2 (2024-10-14)
<linalg>
std::execution Merged into C++26. Proposal: P2300R10 (2024-06-28).
More proposals:
  • System execution context - P2079R5 (2024-10-16)
  • Sender-Receiver Interface for Networking - P2762R2 (2023-10-12)
  • Member customization points for Senders and Receivers - P2855R1 (2024-02-22)
  • An Event Model for C++ Executors - P2882R0 (2023-05-11)
  • Sender Algorithm Customization - P2999R3 (2023-12-13)
  • std::execution introduction - P3090R0 (2024-02-14)
  • A plan for std::execution for C++26 - P3109R0 (2024-02-12)
  • Improving diagnostics for Sender expressions - P3164R0 (2024-03-01)
  • Reconsidering the std::execution::on algorithm - P3175R3 (2024-06-25)
  • finally, write_env, and unstoppable Sender Adaptors - P3284R1 (2024-07-16)
  • Fixing Lazy Sender Algorithm Customization - P3303R1 (2024-06-25)
  • A Utility for Creating Execution Environments - P3325R3 (2024-07-23)
  • When Do You Know connect Doesn't Throw? - P3388R0 (2024-09-10)
  • std::execution wording fixes - P3396R0 (2024-09-16)
  • Enabling more efficient stop-token based cancellation of senders - P3409R0 (2024-10-16)
  • system_scheduler on Win32, Darwin and Linux - P3456R0 (2024-10-15)
  • Summarizing std::execution::bulk() issues - P3481R0 (2024-10-16)
Execution, <execution>
std::inplace_vector Merged into C++26. Proposal: P0843R14 (2024-06-26).
More proposals:
  • inplace_vector - P0843(R7) LEWG presentation - P2925R0 (2023-06-16)
  • A direction for Vector - P3147R1 (2024-03-18)
  • An allocator-aware std::inplace_vector - P3160R2 (2024-10-15)
<inplace_vector>
Pattern Matching Early development. Draft P1371R3 (2020-09-15).
More proposals:
  • Pattern Matching using is and as - P2392R3 (2024-10-16)
  • Pattern Matching: match expression - P2688R3 (2024-10-16)
  • switch for Pattern Matching - P2940R0 (2022-04-18)
  • Identifiers for Pattern Matching - P2941R0 (2022-02-24)
  • A Postcondition is a Pattern Match - P3210R2 (2024-09-10)
  • A unified syntax for Pattern Matching and Contracts when introducing a new name - P3249R0 (2024-05-22)
  • A simpler notation for PM - P3332R0 (2024-06-18)
  • Slides for P2688R2 - Pattern Matching: match Expression - P3476R0 (2024-10-16)
Reflection The main document (ISO/IEC TS 23619:2021) is described in Reflection TS above.
More proposals:
  • Scalable Reflection in C++ - P1240R2 (2022-01-14)
  • Expansion statements - P1306R3 (2024-10-14)
  • Reflection on attributes - P1887R1 (2020-01-13)
  • Metaprogramming - P2237R0 (2020-10-15)
  • Python Bindings with Value-Based Reflection - P2911R1 (2023-10-13)
  • Reflection for C++26 - P2996R7 (2024-10-13)
  • Using Reflection to Replace a Metalanguage for Generating JS Bindings - P3010R0 (2023-10-13)
  • ABI comparison with reflection - P3095R0 (2024-02-15)
  • Function Parameter Reflection in Reflection for C++26 - P3096R3 (2024-09-15)
  • Generative Extensions for Reflection - P3157R1 (2024-05-22)
  • Syntax for Reflection - P3381R0 (2024-09-17)
  • Attributes reflection - P3385R1 (2024-10-15)
  • Annotations for Reflection - P3394R0 (2024-10-14)
  • Reflection Syntax Options Summary - P3419R0 (2024-10-11)
  • Reflection of Templates - P3420R0 (2024-10-16)
  • Reflection header should minimize standard library dependencies - P3429R0 (2024-10-16)
  • Reflection and meta-programming - P3435R0 (2024-10-14)
  • Proposed default principles: Reflect C++, Generate C++ - P3437R0 (2024-10-16)
  • Reflection on SG21 2024 Process - P3443R0 (2024-10-14)
  • A Suggestion for Reflection Access Control - P3451R0 (2024-10-15)
Reflection
std::simd Merged into C++26. Proposal: P1928R15 (2024-11-22).
The main document (TS ISO/IEC 19570:2018) is described in "C++ Extensions for Parallelism V2" above.
More proposals:
Data parallel types, <simd>
Contracts Early development. Proposal P2659R2 (2022-11-30). Draft P2660R0 (2022-10-14).
More proposals:
  • A Proposal to Publish a Technical Specification for Contracts - P2659R2 (2022-12-05)
  • Miscellaneous amendments to the Contracts TS - P2661R0 (2022-10-15)
  • Contracts for C++: Prioritizing Safety - P2680R1 (2022-12-15)
  • A proposed plan for contracts in C++ - P2695R1 (2023-02-09)
  • Proposal of Condition-centric Contracts Syntax - P2737R0 (2022-12-30)
  • Contracts for C++: Prioritizing Safety - Presentation slides - P2743R0 (2022-12-13)
  • Evaluation of Checked Contracts - P2751R1 (2023-02-14)
  • A Bold Plan for a Complete Contracts Facility - P2755R1 (2024-04-11)
  • The idea behind the contracts MVP - P2817R0 (2023-03-05)
  • Proposal of Contracts Supporting Const-On-Definition Style - P2829R0 (2023-04-13)
  • Contract violation handling semantics for the contracts MVP - P2852R0 (2023-04-24)
  • The Lakos Rule: Narrow Contracts and noexcept Are Inherently Incompatible - P2861R0 (2023-05-19)
  • Requirements for a Contracts syntax - P2885R3 (2023-10-05)
  • Contracts on lambdas - P2890R2 (2023-12-13)
  • Constant evaluation of Contracts - P2894R2 (2024-01-11)
  • Outstanding design questions for the Contracts MVP - P2896R0 (2023-08-22)
  • Contracts for C++ - P2900R10 (2024-10-13)
  • A Principled Approach to Open Design Questions for Contracts - P2932R3 (2024-01-16)
  • An Attribute-Like Syntax for Contracts - P2935R4 (2023-11-05)
  • Contracts must avoid disclosing sensitive information - P2947R0 (2023-07-20)
  • Slides for P2861R0: Narrow Contracts and noexcept are Inherently Incompatible - P2949R0 (2023-07-14)
  • Contracts and virtual functions for the Contracts MVP - P2954R0 (2023-08-03)
  • Contracts and coroutines - P2957R2 (2024-10-14)
  • A natural syntax for Contracts - P2961R2 (2023-11-08)
  • An Overview of Syntax Choices for Contracts - P3028R0 (2023-11-05)
  • Protection against modifications in contracts - P3071R1 (2023-12-17)
  • Remove evaluation_undefined_behavior and will_continue from the Contracts MVP - P3073R0 (2024-01-27)
  • Should ignore and observe exist for constant evaluation of contracts? - P3079R0 (2024-01-11)
  • Contracts for C++: Support for virtual functions - P3097R0 (2024-04-15)
  • Contracts for C++: Postcondition captures - P3098R0 (2024-10-14)
  • Undefined and erroneous behavior are contract violations - P3100R1 (2024-10-16)
  • Tokyo Technical Fixes to Contracts - P3119R1 (2024-05-09)
  • Contracts on virtual functions for the Contracts MVP - P3165R0 (2024-02-27)
  • Inherited contracts - P3169R0 (2024-04-14)
  • Contract testing support - P3183R1 (2024-05-22)
  • Slides for LEWG presentation of P2900R6: Contracts for C++ - P3189R0 (2024-03-19)
  • Slides for LEWG presentation of P2900R7: Contracts for C++ - P3190R0 (2024-03-20)
  • A response to the Tokyo EWG polls on the Contracts MVP (P2900R6) - P3197R0 (2024-04-12)
  • A takeaway from the Tokyo LEWG meeting on Contracts MVP - P3198R0 (2024-03-29)
  • The contract of sort() - P3212R0 (2024-07-03)
  • Contracts for C++: Naming the Louis semantic - P3226R0 (2024-04-12)
  • Contracts for C++: Fixing the contract violation handling API - P3227R0 (2024-10-16)
  • Contracts for C++: Revisiting contract check elision and duplication - P3228R1 (2024-05-21)
  • An alternate proposal for naming contract semantics - P3238R0 (2024-05-06)
  • A unified syntax for Pattern Matching and Contracts when introducing a new name - P3249R0 (2024-05-22)
  • C++ contracts with regards to function pointers - P3250R0 (2024-05-07)
  • C++ contracts and coroutines - P3251R0 (2024-05-07)
  • Make the predicate of contract_assert more regular - P3257R0 (2024-04-26)
  • Ship Contracts in a TS - P3265R3 (2024-05-28)
  • Approaches to C++ Contracts - P3267R1 (2024-05-22)
  • C++ Contracts Constification Challenges Concerning Current Code - P3268R0 (2024-05-07)
  • Do Not Ship Contracts as a TS - P3269R0 (2024-05-21)
  • Repetition, Elision, and Constification w.r.t. contract_assert - P3270R0 (2024-05-22)
  • Function Usage Types (Contracts for Function Pointers) - P3271R1 (2024-10-15)
  • P2900 Is Superior to a Contracts TS - P3276R0 (2024-05-18)
  • Contracts: Protecting The Protector - P3285R0 (2024-05-15)
  • Integrating Existing Assertions With Contracts - P3290R2 (2024-09-06)
  • C++26 Needs Contract Checking - P3297R1 (2024-06-21)
  • An opt-in approach for integration of traditional assert facilities in C++ contracts - P3311R0 (2024-05-22)
  • Compile time resolved contracts - P3317R0 (2024-05-22)
  • Contracts Interaction With Tooling - P3321R0 (2024-07-12)
  • Contract assertions on function pointers - P3327R0 (2024-10-16)
  • Observable Checkpoints During Contract Evaluation - P3328R0 (2024-06-14)
  • Usage Experience for Contracts with BDE - P3336R0 (2024-06-23)
  • Contracts - What are we doing here (EWG Presentation) - P3343R0 (2024-06-25)
  • Virtual Functions on Contracts (EWG - Presentation for P3097) - P3344R0 (2024-06-28)
  • Class invariants and contract checking philosophy - P3361R1 (2024-07-23)
  • Static analysis and “safety” of Contracts, P2900 vs P2680/P3285 - P3362R0 (2024-08-13)
  • Contract assertions versus static analysis and “safety” - P3376R0 (2024-10-14)
  • Static Analysis of Contracts with P2900 - P3386R0 (2024-10-15)
  • Contract assertions on coroutines - P3387R0 (2024-10-09)
  • Improving the handling of exceptions thrown from contract predicates - P3417R0 (2024-10-16)
  • Contracts Implementors Report - P3460R0 (2024-10-16)
  • Standard library hardening - P3471R0 (2024-10-16)
  • Constification should not be part of the MVP (Minimal Viable Product) - P3478R0 (2024-10-16)
2D Graphics Early development. Draft P0267R10 (2019-10-07).
Graph Library Early development.
More proposals:
  • Graph Library: Overview - P3126R2 (2024-08-05)
  • Graph Library: Algorithms - P3128R2 (2024-09-12)
  • Graph Library: Graph Container Interface - P3130R2 (2024-08-05)
  • Graph Library: Graph Containers - P3131R2 (2024-08-05)

[edit] See also

C documentation for Experimental C features

[edit] External links

1.  PL22.16/WG21 document list - All C++ committee documents (TS/proposals) for 2016-2024.
2.  JTC1/SC22/WG21 Proposals (mailing) for 2024.