BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bsl::vector_ForwardIteratorForPtrs< TARGET, ITERATOR, bool > Struct Template Reference

#include <bslstl_vector.h>

Public Types

typedef ITERATOR type
 

Detailed Description

template<class TARGET, class ITERATOR, bool = is_integral<ITERATOR>::value>
struct bsl::vector_ForwardIteratorForPtrs< TARGET, ITERATOR, bool >

This metafunction provides an appropriate iterator adaptor for the specified (template parameter) type ITERATOR in order to implement members of the vector partial template specialization for vectors of pointers to the (template parameter) type TARGET. The metafunction will return the original ITERATOR type unless it truly is an iterator, using is_integral as a proxy for testing that a type is NOT an iterator. This is needed to disambiguate only the cases of users passing 0 as a null-pointer value to functions requesting a number of identical copies of an element.

Member Typedef Documentation

◆ type

template<class TARGET , class ITERATOR , bool = is_integral<ITERATOR>::value>
typedef ITERATOR bsl::vector_ForwardIteratorForPtrs< TARGET, ITERATOR, bool >::type

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