![]() |
LibraryLink Utilities
3.0.1
Modern C++ wrapper over LibraryLink and WSTP
|
Iterator adaptor for DataList that makes begin() and end() return proxy iterators for node values.
Mostly useful in range-based for loops.
| T | - a DataList node value type |
Inherits LLU::Detail::IteratorAdaptor< T, IteratorType >.
#include <DataList.h>
Public Types | |
| using | iterator = IteratorType |
Public Member Functions | |
| ValueAdaptor (DataList< T > &d) | |
| Create ValueAdaptor to an existing DataList. More... | |
| iterator | begin () const |
| iterator | cbegin () |
| iterator | end () const |
| iterator | end () |
|
inlineexplicit |
Create ValueAdaptor to an existing DataList.
| d | - DataList with nodes of type T |