Specialization for a matching iterator and sentinel type.

Synopsis

Declared in <folly/container/Iterator.h>

template<typename Iter>
inline constexpr bool iterator_has_known_distance_v = std::is_base_of<
        std::random_access_iterator_tag,
        typename std::iterator_traits<Iter>::iterator_category>::value;

Created with MrDocs