История изменений
Исправление fsb4000, (текущая версия) :
Ну может быть...
Вот что я имел ввиду:
Вот правило: https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Ri-array
Warn for any expression that would rely on implicit conversion of
an array type to a pointer type. Allow exception for
zstring/czstring pointer types.
в чекере варнинг называется: «array to pointer decay» (да без слова implicit, анон ты прав)
Исходная версия fsb4000, :
Ну может быть...
Вот что я имел ввиду:
Вот правило: https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Ri-array
Warn for any expression that would rely on implicit conversion of
an array type to a pointer type. Allow exception for
zstring/czstring pointer types.
в чекере варнинг называется: «array to pointer decay»