60 current_ =
static_cast<T *
>(current_->next);
73 return current_ != iterator.current_;
96 return static_cast<T *
>(
ptr);
102 for (
T *
ptr : *
this) {
void * BLI_findlink(const struct ListBase *listbase, int number) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
These structs are the foundation for all linked lists in the library system.
Iterator(ListBase *listbase, T *current)
bool operator!=(const Iterator &iterator) const
ListBaseWrapper(ListBase *listbase)
int64_t index_of(const T *value) const
ListBaseWrapper(ListBase &listbase)