Skip to content

[cpp.predefined] P2582R1 CTAD from inherited constructors should bump __cpp_deduction_guides #795

@frederick-vs-ja

Description

@frederick-vs-ja

Full name of submitter (unless configured in github; will be published with the issue): Jiang An (Patrick Palka for the original issue)

Reference (section label): [cpp.predefined]

Link to reflector thread (if any): Originally posted in cplusplus/draft#6779.

Issue description:

We bumped __cpp_deduction_guides for class template argument deduction for alias templates and aggregate classes in C++20. As CTAD is furtherly enhanced in C++23 by P2582R1, we should bump the feature-test macro again.

Suggested resolution:

Modify Table 22 Feature-test macros [tab:cpp.predefined.ft] as indicated

Macro name Value
[...] [...]
__cpp_deduction_guides 201907L 202207L
[...] [...]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions