[libcxx-commits] [libcxx] [libc++] Document the strengthened noexcept convention (PR #203869)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jun 26 10:48:30 PDT 2026


philnik777 wrote:

I very much lean towards (1). For conditional `noexcept`s, the compiler has to evaluate whether a function is `noexcept`, and if we can't find a reason this would be beneficial to users, I don't think we should make the compiler do that evaluation. For unconditional ones I don't have a strong opinion, but I have a feeling most of them will be `throws nothing` anyways.

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


More information about the libcxx-commits mailing list