Return an iterator lhs positions past rhs.
Synopsis
Declared in <bslstl_randomaccessiterator.h>
template<
class T,
class ITER_IMP,
class TAG_TYPE>
bslstl::RandomAccessIterator<T, ITER_IMP, TAG_TYPE>
operator+(
std::ptrdiff_t lhs,
RandomAccessIterator<T, ITER_IMP, TAG_TYPE> const& rhs);
Description
Return an iterator to the element at the specified lhs positions past the specified rhs. The behavior is undefined unless rhs, after incrementing by lhs, is within the bounds of the underlying sequence.
Return Value
iterator lhs positions past rhs
Parameters
Name |
Description |
lhs |
number of positions to advance |
rhs |
iterator to advance from |
Created with MrDocs