Ordered list whose terms are evaluated lazily. More...
#include <lazy_list.hpp>
Public Member Functions | |
virtual size_t | size (void) const =0 |
Returns the length of the list. More... | |
virtual T | operator[] (const size_t i) const =0 |
Returns a single member of the list. More... | |
T | at (const size_t i) const |
bound checked access function More... | |
Ordered list whose terms are evaluated lazily.
Definition at line 17 of file lazy_list.hpp.
|
inline |
bound checked access function
i | Index |
Definition at line 36 of file lazy_list.hpp.
|
pure virtual |
Returns a single member of the list.
i | Index |
Implemented in ContiguousChunk< T >, Echo< T >, and ExtensiveGenerator.
|
pure virtual |
Returns the length of the list.
Implemented in ContiguousChunk< T >, Echo< T >, and ExtensiveGenerator.