TRIQS/itertools 1.3.0
C++ range library
Loading...
Searching...
No Matches
sentinel.hpp File Reference
#include <utility>

Detailed Description

Provides a generic sentinel type for various iterator types in itertools.

Definition in file sentinel.hpp.

Go to the source code of this file.

Classes

struct  itertools::sentinel_t< Iter >
 Generic sentinel type that can be used to mark the end of a range. More...
 

Functions

template<typename Iter >
sentinel_t< Iter > itertools::make_sentinel (Iter it)
 Create an itertools::sentinel_t from an iterator using template type deduction.