Skip to content

LiteFX::CovariantIterator::CovariantIterator

Constructors

Synopses

Declared in <litefx/containers.hpp>

Initializes a new iterator instance. Always throws a RuntimeException.

explicit CovariantIterator();

» more...

Copies another iterator instance.

CovariantIterator(CovariantIterator const& _other);

» more...

Takes ownership over another iterator instances.

CovariantIterator(CovariantIterator&& _other) noexcept = default;

» more...

Initializes a new iterator instance.

template<typename TIterator>
CovariantIterator(TIterator const& it);

» more...

Template Parameters

NameDescription
TIteratorThe type of the iterator that returns the value instances.

Parameters

NameDescription
_otherThe iterator to copy.
itThe iterator to wrap within the iterator instance.