Skip to content

Partial ordering rules for packs in [temp.deduct.type] #4014

Open
@sdkrystian

Description

@sdkrystian

The wording in [temp.deduct.type] p10 that effectively states "during partial ordering, a function parameter pack is less specialized than N matching function parameters" doesn't apply to partial ordering the the context of a function call, since rather than using the entire function type for deduction, only the types of the parameter with arguments in the call are used, meaning that P does not have a form that contains (T) unless the type of the parameter itself was compounded from a function type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cwgIssue must be reviewed by CWG.decision-requiredA decision of the editorial group (or the Project Editor) is required.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions