Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix implementation of [temp.param]p14's first sentence. #83487

Merged
merged 4 commits into from Mar 1, 2024

Commits on Feb 29, 2024

  1. Fix implementation of [temp.param]p14's first sentence.

    The first sentence says:
    
    If a template-parameter of a class template, variable template, or alias
    template has a default template-argument, each subsequent
    template-parameter shall either have a default template-argument
    supplied or be a template parameter pack.
    
    However, we were only testing for "not a function function template",
    and referring to an older version of the standard.  As far as I can
    tell, CWG2032 added the variable-template, and the alias-template
    pre-dates the standard on github.
    
    This patch started as a bug fix for llvm#83461 , but ended up fixing a
    number of similar cases, so those are validated as well.
    erichkeane committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    1c443be View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. add release note.

    erichkeane committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    ccdb3e9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a688add View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    285bb4f View commit details
    Browse the repository at this point in the history