Library Version 18.1.40

Chapter 11. Iterator Classes for db_vector
Prev |  | Next

## Chapter 11. Iterator Classes for db_vector

db_vector has two iterator classes --- db_vector_base_iterator and db_vector_iterator .

The differences between the two classes are that the db_vector_base_iterator can only be used to read its referenced value, so it is intended as db_vector's const iterator; While the other class allows both read and write access. If your access pattern is readonly, it is strongly recommended that you use the const iterator because it is faster and more efficient. The two classes have identical behaviors to std::vector::const_iterator and std::vector::iterator respectively. Note that the common public member function behaviors are described in the db_base_iterator section.

#### See Also

db_base_iterator

#### Public Members

Member | Description
--- | ---
db_vector_base_iterator | db_vector_base_iterator
db_vector_iterator | db_vector_iterator

#### Group

Dbstl Iterator Classes

Prev |  | Next
is_directdb_get | Home | Chapter 12. Db_vector_base_iterator