prevector::const_iterator::const_iterator

Constructors

Synopses

Declared in <prevector.h>

Constructs an iterator that does not refer to any element.

const_iterator() = default;
» more...

Constructs a const iterator from a mutable iterator.

const_iterator(iterator x);
» more...

Constructs an iterator referring to the element at ptr_.

const_iterator(T const* ptr_);
» more...

Parameters

NameDescription
xThe mutable iterator to convert.
ptr_Pointer to the element the iterator refers to.