Skip to content

[temp.arg.template] Reference given for "equivalent types" only defines other kinds of equivalence #1475

Open
@Eelis

Description

@Eelis
Contributor

[temp.arg.template]/3 contains:

[..] Two template parameters match if they are of the same kind (type, non-type, template), for non-type template-parameters, their types are equivalent (14.5.6.1), and for template template-parameters, each of their corresponding template-parameters matches, recursively. [..]

Following the reference, one might hope to find information on "equivalent types" in 14.5.6.1 ([temp.over.link]). However, while that section does define equivalent expressions and equivalent function templates, it does not appear to define equivalence of types.

Activity

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

    cwgIssue must be reviewed by CWG.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @Eelis@zygoloid

        Issue actions

          [temp.arg.template] Reference given for "equivalent types" only defines other kinds of equivalence · Issue #1475 · cplusplus/draft