Skip to content

Ellipsis missing from template instatiation #128

@knatten

Description

@knatten

The instantiation from this code:

template<typename T>
void foo(T, ...) {}

int main(){
   foo(1, 2.);
}

Looks like this:

template<>
void foo<int>(int)
{
}

I think the signature should rather be void foo<int>(int, ...).

Try it on CppInsights.io

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions