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

Fix c++17 fold expression in variable template specialization #305

Conversation

i-garrison
Copy link
Contributor

This change fixes an issue where variable template specialization requires calculating a fold over predicates from parameter pack. Added a couple of tests showing this common pattern in libstdc++-v3.

@github-actions
Copy link

github-actions bot commented Mar 5, 2023

Test Results

     592 files       592 suites   14m 29s ⏱️
10 059 tests 10 037 ✔️ 22 💤 0
10 181 runs  10 159 ✔️ 22 💤 0

Results for commit 3da16bd.

♻️ This comment has been updated with latest results.

@i-garrison i-garrison force-pushed the pr/c++17-fold-expression-in-variable-template-specialization branch from 40825f1 to 4f662e2 Compare March 5, 2023 23:01
@jonahgraham
Copy link
Member

LGTM. I have kicked off the builds again as they failed for unrelated reasons.

@jonahgraham
Copy link
Member

It looks like a Maven 3.8.7 vs 3.9.0 version. GitHub actions just changed to the recently released Maven 3.9.0. Follow along on my journey in #308

@jonahgraham
Copy link
Member

Please rebase/merge this change with main to pick up the fix to #309

@i-garrison i-garrison force-pushed the pr/c++17-fold-expression-in-variable-template-specialization branch from 4f662e2 to 83bfe82 Compare March 7, 2023 05:19
@i-garrison
Copy link
Contributor Author

Thanks @jonahgraham that worked to resolve CI issue.

Copy link
Member

@jonahgraham jonahgraham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

I will merge soon.

@jonahgraham jonahgraham added the language C/C++ Language Support label Mar 8, 2023
@jonahgraham jonahgraham added this to the 11.2.0 milestone Mar 8, 2023
@jonahgraham jonahgraham force-pushed the pr/c++17-fold-expression-in-variable-template-specialization branch from 83bfe82 to 3da16bd Compare March 16, 2023 14:19
@jonahgraham
Copy link
Member

I have rebased the change to make sure that it builds cleanly on main now that we released 11.1.0. Normally this is just a check that code cleanliness still passes, especially bundle version numbers are where they are supposed to be.

@jonahgraham jonahgraham merged commit 56e5da5 into eclipse-cdt:main Mar 16, 2023
@jonahgraham
Copy link
Member

Thank you @i-garrison.

@i-garrison i-garrison deleted the pr/c++17-fold-expression-in-variable-template-specialization branch March 16, 2023 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
language C/C++ Language Support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants