[libcxx-commits] [libcxx] [libc++] Implement P2988R12: `std::optional<T&>` (PR #155202)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Nov 11 23:36:33 PST 2025
frederick-vs-ja wrote:
> @smallp-o-p To complete the implementation: would you mind revisiting `std::optional` and mark `[[nodiscard]]` whatever is relevant, maybe even the original code too according to: https://libcxx.llvm.org/CodingGuidelines.html#apply-nodiscard-where-relevant?
This is seems almost orthogonal to this PR. I think it would be better to open a series of task issues for `[[nodiscard]]` in libc++ headers.
https://github.com/llvm/llvm-project/pull/155202
More information about the libcxx-commits
mailing list