Skip to content

CWG2707 [temp.deduct.guide] trailing requires-clause for deduction guides #234

@cmeerw

Description

@cmeerw

Full name of submitter (unless configured in github; will be published with the issue): originally reported by Richard Smith

Reference (section label): temp.deduct.guide

Link to reflector thread (if any): defect report: class template argument deduction ignores constructor requires-clauses

Issue description: the deduction guide grammar in [temp.deduct.guide] doesn't allow a requires-clause after the deduction-guide, but gcc and MSVC accept it (clang rejects)

(the other issue mentioned in that email is covered by CWG2628)

Suggested resolution: update grammar to allow a trailing requires-clause

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions