https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91120

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I'm not sure if this is valid.  http://eel.is/c++draft/temp.arg.nontype#4 says
A string literal ([lex.string]) is not an acceptable template-argument for a
template-parameter of non-class type.
but given the sv suffix, the argument should be of type
basic_string_view<char>, and thus valid?

Reply via email to