BloombergLP::bdlb::TransformIterator::swap

Exchange the value of this object with that of other.

Synopsis

Declared in <bdlb_transformiterator.h>

void
swap(TransformIterator& other);

Description

Efficiently exchange the value of this object with the value of the specified other object by applying swap to each of the functor and underlying iterator fields of the two objects.

Parameters

NameDescription
othertransform iterator to exchange with this object