An Introduction to std::array

Following up on last week's article on std::vector, today we will be focusing on std::array. Where std::vector represented dynamically sized arrays, std::array is a container that represents arrays of fixed size. std::array lends itself nicely to use in embedded systems, as memory can be statically allocated at compile-time. std::array Overview In order to utilize std::array, …