hanickadot / compile-time-regular-expressions

Compile Time Regular Expression in C++
https://twitter.com/hankadusikova
Apache License 2.0
3.32k stars 183 forks source link

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

Open KulaGGin opened 1 year ago

KulaGGin commented 1 year ago

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

Using C++ 17.

marzer commented 1 year ago

Using C++ 17.

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