[#bsl-vectorBase-08] = xref:bsl.adoc[bsl]::xref:bsl/vectorBase-06a.adoc[vectorBase]<unsigned int> :relfileprefix: ../ :mrdocs: == Synopsis Declared in `<bslstl_vector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<> class xref:bsl/vectorBase-06a.adoc[vectorBase]<unsigned int>; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:bsl/vectorBase-08/const_iterator.adoc[`const_iterator`] | This `typedef` is an alias to `VALUE_TYPE const *`. | xref:bsl/vectorBase-08/const_reference.adoc[`const_reference`] | This `typedef` is an alias to `VALUE_TYPE const&`. | xref:bsl/vectorBase-08/const_reverse_iterator.adoc[`const_reverse_iterator`] | This `typedef` is an alias to `bsl::reverse_iterator<const_iterator>`. | xref:bsl/vectorBase-08/difference_type.adoc[`difference_type`] | This `typedef` is an alias to `std::ptrdiff_t`. | xref:bsl/vectorBase-08/iterator.adoc[`iterator`] | This `typedef` is an alias to `VALUE_TYPE *`. | xref:bsl/vectorBase-08/reference.adoc[`reference`] | This `typedef` is an alias to `VALUE_TYPE&`. | xref:bsl/vectorBase-08/reverse_iterator.adoc[`reverse_iterator`] | This `typedef` is an alias to `bsl::reverse_iterator<iterator>`. | xref:bsl/vectorBase-08/size_type.adoc[`size_type`] | This `typedef` is an alias to `std::size_t`. | xref:bsl/vectorBase-08/value_type.adoc[`value_type`] | This `typedef` is an alias to the (template parameter) `VALUE_TYPE`. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:bsl/vectorBase-08/2constructor.adoc[`vectorBase`] [.small]#[constructor]# | Create an empty base object with no capacity. | xref:bsl/vectorBase-08/adopt.adoc[`adopt`] | Adopt all outstanding memory allocations associated with the specified `base` object. The behavior is undefined unless this object is in a default‐constructed state. | xref:bsl/vectorBase-08/at-0a.adoc[`at`] | `at` overloads | xref:bsl/vectorBase-08/back-00.adoc[`back`] | `back` overloads | xref:bsl/vectorBase-08/begin-09.adoc[`begin`] | `begin` overloads | xref:bsl/vectorBase-08/capacity.adoc[`capacity`] | Return the capacity of this vector, i.e., the maximum number of elements for which resizing is guaranteed not to trigger a reallocation. | xref:bsl/vectorBase-08/cbegin.adoc[`cbegin`] | Return an iterator providing non‐modifiable access to the first element in this vector, and the past‐the‐end iterator if this vector is empty. | xref:bsl/vectorBase-08/cend.adoc[`cend`] | Return the past‐the‐end (forward) iterator providing non‐modifiable access to this vector. | xref:bsl/vectorBase-08/crbegin.adoc[`crbegin`] | Return a reverse iterator providing non‐modifiable access to the last element in this vector, and the past‐the‐end reverse iterator if this vector is empty. | xref:bsl/vectorBase-08/crend.adoc[`crend`] | Return the past‐the‐end reverse iterator providing non‐modifiable access to this vector. | xref:bsl/vectorBase-08/data-02.adoc[`data`] | `data` overloads | xref:bsl/vectorBase-08/empty.adoc[`empty`] | Return `true` if this vector has size 0, and `false` otherwise. | xref:bsl/vectorBase-08/end-0fd.adoc[`end`] | `end` overloads | xref:bsl/vectorBase-08/front-02.adoc[`front`] | `front` overloads | xref:bsl/vectorBase-08/operator_subs-0e.adoc[`operator[]`] | Subscript operators | xref:bsl/vectorBase-08/rbegin-0e.adoc[`rbegin`] | `rbegin` overloads | xref:bsl/vectorBase-08/rend-0e0.adoc[`rend`] | `rend` overloads | xref:bsl/vectorBase-08/size.adoc[`size`] | Return the number of elements in this vector. |=== == Protected Data Members [cols="1,4"] |=== | Name| Description | xref:bsl/vectorBase-08/d_capacity.adoc[`d_capacity`] | Capacity of data storage in number of elements. | xref:bsl/vectorBase-08/d_dataBegin_p.adoc[`d_dataBegin_p`] | Beginning of data storage (owned). | xref:bsl/vectorBase-08/d_dataEnd_p.adoc[`d_dataEnd_p`] | One past the end of data storage. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#