C++ Logo

std-proposals

Advanced search

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

From: Hewill Kang <hewillk_at_[hidden]>
Date: Thu, 15 Oct 2026 11:28:53 +0800
As far as I know, no one in SG9 is working on this.

However, you may need to explain why these views are worth going into the
standard library. You might also need to conduct research into use
cases—for example, by looking at how frequently these utilities are used in
projects on GitHub or across different programming languages.

Thanks,
Hewill

anish aggarwal via Std-Proposals <std-proposals_at_[hidden]> 於
2026年10月15日週四 上午6:11寫道:

> 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
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>

Received on 2026-10-15 03:29:09