Cached lazy list. More...
#include <cached_lazy_list.hpp>
Public Member Functions | |
CachedLazyList (const LazyList< T > &ll) | |
Class constructor. More... | |
size_t | size (void) const |
Returns the size of the list. More... | |
const T & | operator[] (size_t i) const |
Element access function. More... | |
void | reset (void) const |
Marks all terms for recalculation. | |
virtual | ~CachedLazyList (void) |
Class destructor. | |
Cached lazy list.
Definition at line 17 of file cached_lazy_list.hpp.
|
inlineexplicit |
Class constructor.
ll | Regular lazy list |
Definition at line 24 of file cached_lazy_list.hpp.
|
inline |
Element access function.
i | Index |
Definition at line 39 of file cached_lazy_list.hpp.
|
inline |
Returns the size of the list.
Definition at line 30 of file cached_lazy_list.hpp.