cpp/ranges/take view/sentinel/operator cmp

Compares a with a std (typically obtained from a call to ).

Returns if  points past the N-th element (where N is the number passed to the constructor of ), or if end of underlying view is reached.

The exposition-only alias template is defined as.

Return value
, where denotes the underlying sentinel.