[libcxx-commits] [libcxx] [libc++][map] Applied `[[nodiscard]]` (PR #169971)

Hans Wennborg via libcxx-commits libcxx-commits at lists.llvm.org
Tue Dec 16 01:22:03 PST 2025


zmodem wrote:

> Can we reevaluate having `[[nodiscard]]` on `operator[]` in containers where it's also used for insertion?

I've sent https://github.com/llvm/llvm-project/pull/172444 for this. Please let me know what you think.

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


More information about the libcxx-commits mailing list