LeviLamina
Loading...
Searching...
No Matches
ContainerIterator< T > Class Template Reference

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 ContainerIteratoroperator++ ()
 
constexpr ContainerIteratoroperator-- ()
 
constexpr ContainerIterator operator+ (difference_type n) const
 
constexpr ContainerIterator operator- (difference_type n) const
 
constexpr ContainerIteratoroperator+= (difference_type n)
 
constexpr ContainerIteratoroperator-= (difference_type n)
 
constexpr reference operator[] (difference_type n) const
 

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