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

invalid nontype template argument of type "const char (&)[15]" #277

Open
KulaGGin opened this issue Feb 9, 2023 · 1 comment
Open

invalid nontype template argument of type "const char (&)[15]" #277

KulaGGin opened this issue Feb 9, 2023 · 1 comment

Comments

@KulaGGin
Copy link

KulaGGin commented Feb 9, 2023

Trying to run the first example. Getting a "invalid nontype template argument of type "const char (&)[15]"" error:
devenv_xh8mQD2OI8

Using C++ 17.

@marzer
Copy link

marzer commented Feb 9, 2023

Using C++ 17.

This is the problem. You need C++20 for that syntax.

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

No branches or pull requests

2 participants