C++ Logo

std-proposals

Advanced search

[std-proposals] views::drop_last_while / views::take_last_while (P2760 Tier 1): anyone working on these?

From: anish aggarwal <anishagg17_at_[hidden]>
Date: Wed, 14 Oct 2026 23:11:33 +0100
Hi all,

 P2760 lists views::drop_last_while and views::take_last_while as Tier 1.
The counted versions (drop_last / take_last) are covered by P4294, but I
couldn't find anything for the predicate versions. Is anyone already
working on them?

If not, I'd like to write a paper. They'd be the back-end mirrors of
drop_while and take_while. They're also closely related to the views::trim
idea I posted this week, since trim is basically drop_while followed by
drop_last_while.

Can someone from SG9 confirm if these go in the same paper as trim, or
separately?

Thanks,
Anish

Received on 2026-10-14 22:11:46