Date: Wed, 14 Oct 2026 19:36:11 -0400
I don't know, but naming-wise I notice that the other day you proposed
"trim_if" but apparently "trim_while" would be the better and more
appropriate/consistent name.
my $.02,
Arthur
On Wed, Oct 14, 2026, 6:11 PM anish aggarwal via Std-Proposals <
std-proposals_at_[hidden]> wrote:
> 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
>
"trim_if" but apparently "trim_while" would be the better and more
appropriate/consistent name.
my $.02,
Arthur
On Wed, Oct 14, 2026, 6:11 PM anish aggarwal via Std-Proposals <
std-proposals_at_[hidden]> wrote:
> 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-14 23:36:28
