value_type* data() noexcept;const value_type* data() const noexcept;
const value_type
12345678910111213141516
// array::data #include <iostream> #include <cstring> #include <array> int main () { const char* cstr = "Test string"; std::array<char,12> charray; std::memcpy (charray.data(),cstr,12); std::cout << charray.data() << '\n'; return 0; }
Test string