Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/iter-explorer.hpp"
Adapt an IterSource to make it iterable.
As such, lib::IterSource is meant to be iterable, while only exposing a conventional VTable-based iteration interface. To support this usage, the library offers some builders to attach an iterator adapter. Two flavours need to be distinguished:
Definition at line 196 of file iter-explorer.hpp.
Public Types | |
using | Source = ISO |
Public Member Functions | |
IterSourceIter (ISO &externalSource) | |
link to existing IterSource (without memory management) | |
IterSourceIter (ISO *heapObject) | |
own and manage a heap allocated IterSource | |
Source & | source () |
Private Types | |
using | Iterator = typename ISO::iterator |