[libcxx-commits] [libcxx] [libc++] Add nodiscard attribute to std::make_unique/std::make_shared (PR #153115)
Yihe Li via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Aug 15 22:53:50 PDT 2025
Mick235711 wrote:
Personally, I'd prefer if this used the message version of the attribute to get a better error message than "ignored return value"... however, perhaps libc++ currently doesn't have a policy/precedence for that.
https://github.com/llvm/llvm-project/pull/153115
More information about the libcxx-commits
mailing list