BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bsl::vector_UintPtrRangeAdapter< t_VALUE_TYPE, t_ITERATOR, t_SENTINEL > Struct Template Reference

#include <bslstl_vector.h>

Detailed Description

template<class t_VALUE_TYPE, class t_ITERATOR, class t_SENTINEL>
struct bsl::vector_UintPtrRangeAdapter< t_VALUE_TYPE, t_ITERATOR, t_SENTINEL >

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.

See bslstl_vector

Public Types

typedef vector_UintPtrConversionIterator< t_VALUE_TYPE, t_ITERATOR > iterator
 
typedef iterator const_iterator
 

Public Member Functions

iterator begin () const
 
t_SENTINEL end () const
 

Public Attributes

t_ITERATOR d_begin
 
t_SENTINEL d_end
 

Member Typedef Documentation

◆ const_iterator

template<class t_VALUE_TYPE , class t_ITERATOR , class t_SENTINEL >
typedef iterator bsl::vector_UintPtrRangeAdapter< t_VALUE_TYPE, t_ITERATOR, t_SENTINEL >::const_iterator

◆ iterator

template<class t_VALUE_TYPE , class t_ITERATOR , class t_SENTINEL >
typedef vector_UintPtrConversionIterator<t_VALUE_TYPE,t_ITERATOR> bsl::vector_UintPtrRangeAdapter< t_VALUE_TYPE, t_ITERATOR, t_SENTINEL >::iterator

Member Function Documentation

◆ begin()

template<class t_VALUE_TYPE , class t_ITERATOR , class t_SENTINEL >
iterator bsl::vector_UintPtrRangeAdapter< t_VALUE_TYPE, t_ITERATOR, t_SENTINEL >::begin ( ) const
inline

◆ end()

template<class t_VALUE_TYPE , class t_ITERATOR , class t_SENTINEL >
t_SENTINEL bsl::vector_UintPtrRangeAdapter< t_VALUE_TYPE, t_ITERATOR, t_SENTINEL >::end ( ) const
inline

Member Data Documentation

◆ d_begin

template<class t_VALUE_TYPE , class t_ITERATOR , class t_SENTINEL >
t_ITERATOR bsl::vector_UintPtrRangeAdapter< t_VALUE_TYPE, t_ITERATOR, t_SENTINEL >::d_begin

◆ d_end

template<class t_VALUE_TYPE , class t_ITERATOR , class t_SENTINEL >
t_SENTINEL bsl::vector_UintPtrRangeAdapter< t_VALUE_TYPE, t_ITERATOR, t_SENTINEL >::d_end

The documentation for this struct was generated from the following file: