itertools::make_sentinel

#include <itertools.hpp>

Synopsis

template<typename Iter>
sentinel_t<Iter> make_sentinel (Iter it)

Template parameters

  • Iter Iterator type.

Parameters

  • it Iterator to be turned into an itertools::sentinel_t.

Returns

Sentinel object.