Skip to content

LiteFX::covariant_forward_iterator

Evaluates, if an iterator of type TIterator iterates values that are covariant to TValue.

Synopsis

Declared in <litefx/containers.hpp>

template<
    typename TIterator,
    typename TValue>
concept covariant_forward_iterator = std::forward_iterator<TIterator> && is_covariant<decltype(*std::declval<TIterator>()), TValue>;

Template Parameters

NameDescription
TIteratorThe iterator to evaluate.
TValueThe type that the iterated values should be covariant to.