[default.sentinel]

# 24 Iterators library [[iterators]](./#iterators)

## 24.5 Iterator adaptors [[predef.iterators]](predef.iterators#default.sentinel)

### 24.5.6 Default sentinel [default.sentinel]

[ð](#lib:default_sentinel_t)

`namespace std {
  struct default_sentinel_t { };
}
`

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iterators.tex#L5867)

Class default_sentinel_t is an empty type used to denote the end of a
range[.](#1.sentence-1)

It can be used together with iterator types that know the bound
of their range (e.g., counted_iterator ([[counted.iterator]](counted.iterator "24.5.7.1 Class template counted_­iterator")))[.](#1.sentence-2)
