Library Version 11.2.5.3

operator=
Prev | Chapter 12. Db_vector_base_iterator | Next

## operator=

### Function Details

    const self& operator=(const self &itr)

Assignment operator.

This iterator will point to the same key/data pair as itr, and have the same configurations as itr.

#### Parameters

##### itr

The right value of the assignment.

#### Return Value

This iterator's reference.

#### See Also

db_base_iterator::operator=

### Group: Iterator movement operators.

When we talk about iterator movement, we think the container is a uni-directional range, represented by [begin, end), and this is true no matter we are using iterators or reverse iterators.

When an iterator is moved closer to "begin", we say it is moved forward, otherwise we say it is moved backward.

### Class

db_vector_base_iterator

Prev | Up | Next
operator-- | Home | operator+