Converts a vector to a lazy list. More...
#include <lazy_list.hpp>
Public Member Functions | |
Echo (const vector< T > &v) | |
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... | |
![]() | |
T | at (const size_t i) const |
bound checked access function More... | |
Converts a vector to a lazy list.
Definition at line 195 of file lazy_list.hpp.
|
inlinevirtual |
Returns a single member of the list.
i | Index |
Implements LazyList< T >.
Definition at line 210 of file lazy_list.hpp.
|
inlinevirtual |
Returns the length of the list.
Implements LazyList< T >.
Definition at line 205 of file lazy_list.hpp.