Examples of view
- A range type that wraps a pair of iterators.
- A range type that holds its elements by shared_ptr
and shares ownership with all its copies.
- A range type that generates its elements on demand.
are not views since
destruction of the container destroys the elements,
which cannot be done in constant time.
— end example