cpp/ranges/take while view/sentinel

The return type of.

The type is returned by the const-qualified overload. The type is returned by the non-const-qualified overload.

The name of this class template (shown here as ) is unspecified.

Typical implementation holds two data members: a sentinel that represents the end of the underlying view, and a pointer to the predicate.