Range-v3
Range algorithms, views, and actions for the Standard Library
ranges::sized_sentinel_for_ Concept Reference

The sized_sentinel_for_ concept. More...

#include <range/v3/iterator/concepts.hpp>

Concept definition

template<typename S, typename I>
concept ranges::sized_sentinel_for_ = requires( S const & s, I const & i ) { s - i, i - s, concepts::requires_<same_as<iter_difference_t<I>, decltype(s - i)>>, concepts::requires_<same_as<iter_difference_t<I>, decltype(i - s)>> ; }
The sized_sentinel_for_ concept.
Definition: concepts.hpp:313

Detailed Description

The sized_sentinel_for_ concept.