Daily bit(e) of C++ | std::array
Daily bit(e) of C++ #229, The fixed-sized array container: std::array.
The std::array is a container that represents fixed-sized arrays. Besides the range interface, std::array also avoids the implicit decay into a pointer (e.g. int[3] into int*).
On top of that, std::array doesn't have explicit constructors, allowing it to maintain the trivially copyable property of the underlying data.