Skip to content

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

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

Activity

  1. jensmaurer commented on Mar 11, 2023

    @jensmaurer
    Member
  2. changed the title [-][temp.deduct.guide] trailing requires-clause for deduction guides[/-] [+]CWG2707 [temp.deduct.guide] trailing requires-clause for deduction guides[/+] on Mar 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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