Blender V5.3
unique_ptr_vector< T >::Iterator Struct Reference

#include <unique_ptr_vector.h>

Inherits random_access_iterator_mixin< Iterator >.

Public Types

using value_type = T *
using pointer = T **
using reference = value_type
Public Types inherited from random_access_iterator_mixin< Iterator >
using iterator_category
using difference_type

Public Member Functions

 Iterator (It it)
T * operator* () const
const It & iter_prop () const
Public Member Functions inherited from random_access_iterator_mixin< Iterator >
constexpr decltype(auto) operator[] (const std::ptrdiff_t i)
auto & iter_prop_mutable ()

Detailed Description

template<typename T>
struct unique_ptr_vector< T >::Iterator

Definition at line 171 of file unique_ptr_vector.h.

Member Typedef Documentation

◆ pointer

template<typename T>
using unique_ptr_vector< T >::Iterator::pointer = T **

Definition at line 178 of file unique_ptr_vector.h.

◆ reference

template<typename T>
using unique_ptr_vector< T >::Iterator::reference = value_type

For such derived iterators, this does not have to be an actual reference.

Definition at line 180 of file unique_ptr_vector.h.

◆ value_type

template<typename T>
using unique_ptr_vector< T >::Iterator::value_type = T *

Definition at line 177 of file unique_ptr_vector.h.

Constructor & Destructor Documentation

◆ Iterator()

template<typename T>
unique_ptr_vector< T >::Iterator::Iterator ( It it)
inline

Definition at line 182 of file unique_ptr_vector.h.

Member Function Documentation

◆ iter_prop()

template<typename T>
const It & unique_ptr_vector< T >::Iterator::iter_prop ( ) const
inline

Definition at line 189 of file unique_ptr_vector.h.

◆ operator*()

template<typename T>
T * unique_ptr_vector< T >::Iterator::operator* ( ) const
inline

Definition at line 184 of file unique_ptr_vector.h.

References T.


The documentation for this struct was generated from the following file: