The ConvertingIterator is an iterator wrapper that converts its pointee to the desired type. More...
#include <converting_iterator.h>
Public Types | |
using | converting_to = T |
The converted-to value type. More... | |
using | pointer = Pointer |
The converted-to pointer type. More... | |
using | reference = Reference |
The converted-to reference type. More... | |
Public Member Functions | |
ConvertingIterator ()=default | |
Default ctor. More... | |
ConvertingIterator (It wrapped) | |
Standard ctor, takes the iterator it should wrap. More... | |
Reference | operator* () const |
Converts to the request reference type. More... | |
Pointer | operator-> () const |
Converts to the requested pointer type. More... | |
The ConvertingIterator is an iterator wrapper that converts its pointee to the desired type.
It | Iterator from which to inherit |
T | value type to convert to |
Pointer | pointer type to convert to |
Reference | reference type to convert to |