libycxx

concept

std::weakly_incrementable

Scope
std

Synopsis

template<class I>
concept weakly_incrementable = movable<I> && requires(I i) {
  typename iter_difference_t<I>;
  requires signed-integer-like<iter_difference_t<I>>;
  { ++i } -> same_as<I&>;
  i++;
};