From clang-tidy I get for
struct Foo {
private:
static constexpr char BAR[] = "\033[2J";
};
the warning
do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays]
for BAR.
How can I declare with
#include <array>
struct Foo {
private:
static constexpr std::array<char,7> BAR // = ???
};
Thanks