Copyright 2000 Rogue Wave Software vector Container Summary Sequence that supports random access iterators. In addition, it supports amortized constant time insert and erase operations at the end. Insert and erase in the middle take linear time.
Storage management is handled automatically.
In vector , iterator is a random access iterator referring to T . Two member functions are available to the the boolean vector data type. Creates a vector of length zero. The vector will use the allocator alloc for all storage management. Creates a vector of length n , containing n copies of the default value for type T .