why is unbounded_array more efficient than vector?

Posted by Neil G on Stack Overflow See other posts from Stack Overflow or by Neil G
Published on 2010-04-26T02:40:49Z Indexed on 2010/04/26 2:43 UTC
Read the original article Hit count: 247

Filed under:
|
|

It says here that

The unbounded array is similar to a std::vector in that in can grow in size beyond any fixed bound. However unbounded_array is aimed at optimal performance. Therefore unbounded_array does not model a Sequence like std::vector does.

What does this mean?

© Stack Overflow or respective owner

Related posts about c++

Related posts about boost