This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of Resolved status.

2925. Template argument deduction is not used in the standard library

Section: 99 [library] Status: Resolved Submitter: United States Opened: 2017-02-03 Last modified: 2020-09-06

Priority: Not Prioritized

View other active issues in [library].

View all other issues in [library].

View all issues with Resolved status.

Discussion:

Addresses US 7

P0091R3 "Template argument deduction for class templates (Rev. 6)" was adopted for the core language, but the Standard Library makes no explicit use of this new feature, even though the promise of such use provided strong motivation for the feature.

Proposed change: Analyze the Standard Library's constructors to determine which classes would profit from explicit deduction guides. Formulate the appropriate guides for those classes and insert them in their respective types.

[2017-02-03, Marshall notes]

P0433 is an attempt to do exactly this.

[2017-03-12, post-Kona]

Resolved by P0433R2.

Proposed resolution: