[libcxx-commits] [libcxx] [libc++][bitset] Applied `[[nodiscard]]` (PR #170623)

Hristo Hristov via libcxx-commits libcxx-commits at lists.llvm.org
Thu Dec 4 17:48:30 PST 2025


Zingam wrote:

> If we make `operator[]` nodiscard, why wouldn't we make these nodiscard too?

I thoght you meant the stream's <<, the bitwise operators should be annoteted. Thanks.

https://github.com/llvm/llvm-project/pull/170623


More information about the libcxx-commits mailing list