avoid modernize-avoid-c-arrays
warning with templates that deduce array length
#60053
Labels
modernize-avoid-c-arrays
warning with templates that deduce array length
#60053
https://godbolt.org/z/bvWbTqP1f
In our case this is used to get the length of a string literal. It doesn't make sense to use
std::array
for that.So before C++17 you can only suppress this as
std::string_view
, which would allow to get rid of this, is not yet available.The text was updated successfully, but these errors were encountered: