Return the transformed element at the specified offset.

Synopsis

Declared in <bdlb_transformiterator.h>

Description

Return the result of applying the functor of this object to the result of dereferencing the underlying iterator advanced by the specified (signed) offset. The behavior is undefined if so advancing or dereferencing the underlying iterator is undefined. Note that the behavior of this method is equivalent to: ` functor()(iterator()[offset]) `

Return Value

transformed value at that offset

Parameters

Name

Description

offset

signed offset from the current position

Created with MrDocs