C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Finding the first/next set bit in a bitset

From: Jan Schultke <janschultke_at_[hidden]>
Date: Wed, 21 May 2025 22:13:04 +0200
Hi Anders,

What you're proposing is already part of
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p3103r2.html

The interface is still a bit up-for-debate, but you would be able to
efficiently traverse a bitset with the proposed functions.

Received on 2025-05-21 20:13:18