![]() |
ucx
UAP Common Extensions
|
Common data for all iterators. More...
#include <iterator.h>
Data Fields | |
bool(* | valid )(const void *) |
True if the iterator points to valid data. | |
void *(* | current )(const void *) |
Returns a pointer to the current element. | |
void *(* | current_impl )(const void *) |
Original implementation in case the function needs to be wrapped. | |
void(* | next )(void *) |
Advances the iterator. | |
bool | mutating |
Indicates whether this iterator may remove elements. | |
bool | remove |
Internal flag for removing the current element when advancing. | |
Common data for all iterators.
void *(* cx_iterator_base_s::current) (const void *) |
Returns a pointer to the current element.
When valid returns false, the behavior of this function is undefined.
void(* cx_iterator_base_s::next) (void *) |
Advances the iterator.
When valid returns false, the behavior of this function is undefined.