|
LeviLamina
|
Public Types | |
| using | difference_type = std::ptrdiff_t |
| using | value_type = std::conditional_t<std::is_const_v<T>, ItemStack const, ItemStack> |
| using | pointer = value_type* |
| using | reference = value_type& |
| using | iterator_category = std::random_access_iterator_tag |
Public Member Functions | |
| constexpr | ContainerIterator (T *container, int position) |
| constexpr bool | operator== (const ContainerIterator &other) const |
| constexpr std::strong_ordering | operator<=> (const ContainerIterator &other) const |
| constexpr reference | operator* () const |
| constexpr pointer | operator-> () const |
| constexpr ContainerIterator & | operator++ () |
| constexpr ContainerIterator & | operator-- () |
| constexpr ContainerIterator | operator+ (difference_type n) const |
| constexpr ContainerIterator | operator- (difference_type n) const |
| constexpr ContainerIterator & | operator+= (difference_type n) |
| constexpr ContainerIterator & | operator-= (difference_type n) |
| constexpr reference | operator[] (difference_type n) const |