Read the following:
I'm quoting it from the book "Beyond the Standard Library: An Introduction to Boost"Boost.Array
This library is a wrapper around ordinary C-style arrays, augmenting them with the functions and typedefs from the Standard Library containers. In effect, this makes it possible to treat ordinary arrays as Standard Library containers. This is useful because it adds safety without impeding efficiency and it enables uniform syntax for Standard Library containers and ordinary arrays. The latter means that it enables the use of ordinary arrays with most functions that require a container type to operate on. Array is typically used when performance issues mandate that ordinary arrays be used rather than std::vector.
How does augmenting arrays with functions and typedefs ..make them a better performer than std::vector. What is the difference ?