Skip to content

LiteFX::covariant_const_range

Evaluates, if TView can be iterated as const with iterators that yield values covariant to TValue.

Synopsis

Declared in <litefx/containers.hpp>

template<
    typename TView,
    typename TValue>
concept covariant_const_range = std::ranges::range<const TView> && covariant_forward_iterator<std::ranges::iterator_t<const TView>, TValue>;

Template Parameters

NameDescription
TViewThe view to evaluate.
TValueThe type that the iterated values should be covariant to.