Loading...
Searching...
No Matches
ranges::sized_sentinel_for_ Concept Reference
Iterator » Iterator Concepts

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)>> ; }
ranges::sized_sentinel_for_
The sized_sentinel_for_ concept.
Definition concepts.hpp:313

## Detailed Description

The `sized_sentinel_for_` concept.