YMIt should be noted that if one's not doing it for the learning or fun, in production code it's best to use std::array<> and not reinvent the wheel.Comment·Article·Apr 30, 2021·[C++]Modelling an Array of multiple types using Templates