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

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

Closed
denis-gerasimov opened this issue Nov 2, 2023 · 1 comment
Closed

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

denis-gerasimov opened this issue Nov 2, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@denis-gerasimov
Copy link

denis-gerasimov commented Nov 2, 2023

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

@andreasfertig andreasfertig added the bug Something isn't working label Jun 28, 2024
@andreasfertig
Copy link
Owner

Hello @denis-gerasimov,

thank you for spotting and reporting this issue! A fix is on its way.

Andreas

andreasfertig added a commit that referenced this issue Jun 28, 2024
Fixed #595: Pack expansion in primary template.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants