Creates a contiguous chunk of a lazy list. More...
#include <lazy_list.hpp>


Public Member Functions | |
| ContiguousChunk (const LazyList< T > &i2m, size_t low, size_t high) | |
| Class constructor. More... | |
| size_t | size (void) const |
| Returns the length of the list. More... | |
| T | operator[] (size_t i) const |
| Returns a single member of the list. More... | |
Public Member Functions inherited from LazyList< T > | |
| T | at (const size_t i) const |
| bound checked access function More... | |
Creates a contiguous chunk of a lazy list.
Definition at line 220 of file lazy_list.hpp.
|
inline |
Class constructor.
| i2m | Source list |
| low | Lower boundary of chunk |
| high | Higher boundary of chunk |
Definition at line 229 of file lazy_list.hpp.
|
inlinevirtual |
Returns a single member of the list.
| i | Index |
Implements LazyList< T >.
Definition at line 242 of file lazy_list.hpp.
|
inlinevirtual |
Returns the length of the list.
Implements LazyList< T >.
Definition at line 237 of file lazy_list.hpp.
1.8.13