Skip to content

Pack expansion in ctor call transformed into invalid c++ #595

@denis-gerasimov

Description

@denis-gerasimov

Hi Andreas, thank you for the great tool.

Looks like
std::tuple<C...> tpl(c...);
gets transformed into something odd:
std::tuple<C...> tpl = c... ;

Shouldn't the code stay the same in this case?

Here is the full example: https://cppinsights.io/s/c901a485

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