[#bsl-vector_ForwardIteratorForPtrs-08] = xref:bsl.adoc[bsl]::vector_ForwardIteratorForPtrs :relfileprefix: ../ :mrdocs: 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. == Synopsis Declared in `<bslstl_vector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class TARGET, class ITERATOR, bool = is_integral<ITERATOR>::value> struct vector_ForwardIteratorForPtrs; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:bsl/vector_ForwardIteratorForPtrs-08/type.adoc[`type`] | This `typedef` is an alias to the specified (template parameter) `ITERATOR` type. |=== == Specializations [cols="1,4"] |=== | Name| Description | xref:bsl/vector_ForwardIteratorForPtrs-06.adoc[`vector_ForwardIteratorForPtrs<TARGET, ITERATOR, false>`] | This metafunction specialization 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`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#