[#BloombergLP-bdlb-TransformIterator_AllocatorOfIteratorMethod-00] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::TransformIterator_AllocatorOfIteratorMethod :relfileprefix: ../../ :mrdocs: Base class template that optionally provides an `allocator` method. == Synopsis Declared in `<bdlb_transformiterator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class BASE_TYPE, bool> struct TransformIterator_AllocatorOfIteratorMethod; ---- == Description The `TransformIterator_AllocatorOfIteratorMethod` class template has an allocator method when its boolean template parameter is `true`, which will be made to be the case when the iterator of the transform iterator uses allocators. The transform iterator type itself is supplied as `BASE_TYPE`. == Specializations [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlb/TransformIterator_AllocatorOfIteratorMethod-0f.adoc[`TransformIterator_AllocatorOfIteratorMethod<BASE_TYPE, true>`] | Base providing `allocator` when the underlying iterator uses allocators. |=== == Derived Classes [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlb/TransformIterator.adoc[`TransformIterator`] | Wrapping iterator that invokes a functor on dereference. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#