C++11 -- std::array

I'm having a little trouble understanding std::arrays, could someone give me an example?

http://en.cppreference.com/w/cpp/container/array
Arrays are containers with a constant size indicated by the second template parameter.
So array<int,40> field; creates an array with 40 int elements.
Thank ye! I think I like C++0x/11 ... for (auto i : array) { :D
Topic archived. No new replies allowed.