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

"Class types in non-type template parameters" example doesn't compile #130

Closed
kasparthommen opened this issue Sep 22, 2023 · 2 comments
Closed
Assignees
Labels

Comments

@kasparthommen
Copy link

This example doesn't compile:

https://github.com/AnthonyCalandra/modern-cpp-features#class-types-in-non-type-template-parameters

See here:

https://godbolt.org/z/sf6hKPPso

@AnthonyCalandra
Copy link
Owner

Thanks for the report! You're right, the example doesn't compile, and I think it could benefit from a better example. I'll add it to the TODO list.

@AnthonyCalandra
Copy link
Owner

Fixed in 4d2f4d4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants