Use std::array

Authored by hindenburg on Apr 27 2020, 4:02 AM.