LiteFX::CovariantIterator::CovariantIterator¶
Constructors
Synopses¶
Declared in <litefx/containers.hpp>
Initializes a new iterator instance. Always throws a RuntimeException.
explicit CovariantIterator();Copies another iterator instance.
CovariantIterator(CovariantIterator const& _other);Takes ownership over another iterator instances.
CovariantIterator(CovariantIterator&& _other) noexcept = default;Initializes a new iterator instance.
template<typename TIterator>
CovariantIterator(TIterator const& it);Template Parameters¶
| Name | Description |
|---|---|
| TIterator | The type of the iterator that returns the value instances. |
Parameters¶
| Name | Description |
|---|---|
| _other | The iterator to copy. |
| it | The iterator to wrap within the iterator instance. |