This class provides a minimal proxy range adapter, transforming pointers to uintptr_t values on the fly, for only the operations needed to implement the member functions and constructors of the vector partial template specialization that take iterator ranges as arguments. While it does not provide a standard conforming iterator itself, if provides exactly sufficient behavior to implement all the needed members. t_VALUE_TYPE shall be a pointer type, and [d_begin, d_end)] is a range of the input values.

Synopsis

Declared in <bslstl_vector.h>

template<
    class t_VALUE_TYPE,
    class t_ITERATOR,
    class t_SENTINEL>
struct vector_UintPtrRangeAdapter;

Type Aliases

Name

Description

const_iterator

This typedef is an alias to iterator.

iterator

Iterator type for the adapted unsigned pointer range.

Member Functions

Name

Description

begin

Return an iterator to the beginning of this adapted range.

end

Return the sentinel marking the end of this adapted range.

Data Members

Name

Description

d_begin

Beginning of the adapted range.

d_end

Sentinel marking the end of the adapted range.

Non-Member Functions

Name

Description

vector_makeUintPtrRangeAdapter

Factory function for vector_UintPtrRangeAdapter.

Created with MrDocs