LeviLamina
Loading...
Searching...
No Matches
CompoundTagVariant::Iterator< Const > Class Template Reference

Public Types

using iterator_category = std::bidirectional_iterator_tag
using difference_type = ptrdiff_t
using value_type = Tag
using reference = std::conditional_t<Const, value_type const, value_type>&
using pointer = std::add_pointer_t<reference>

Public Member Functions

reference operator* () const noexcept
pointer operator-> () const noexcept
Iteratoroperator++ () noexcept
Iterator operator++ (int) noexcept
Iteratoroperator-- () noexcept
Iterator operator-- (int) noexcept
bool operator== (Iterator const &r) const noexcept

Static Public Member Functions

static Iterator makeBegin (auto &var) noexcept
static Iterator makeEnd (auto &var) noexcept

Public Attributes

std::conditional_t< Const, std::variant< CompoundTagVariant const *, CompoundTag::const_iterator, ListTag::const_iterator >, std::variant< CompoundTagVariant *, CompoundTag::iterator, ListTag::iterator > > iter

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