Adds documentation around libc++'s policy to add noexcept to things that cannot throw but aren't marked as noexcept.
Refs LWG 3518 and D95251.
Differential D95821
[docs] Explain noexcept policy for narrow contracts. zoecarver on Feb 1 2021, 2:15 PM. Authored by
Details
Adds documentation around libc++'s policy to add noexcept to things that cannot throw but aren't marked as noexcept. Refs LWG 3518 and D95251.
Diff Detail
Event Timeline
Comment Actions Can you also update the ReleaseNotes with this change in behaviour?
Comment Actions LGTM with paragraph removed. This is small, but it's important to record these decisions/policies by writing somewhere so that we can apply them mechanically in the future and avoid wasting time. Thanks!
|
Now that we just say that we might mark some functions as noexcept, we might not need this paragraph, what do you think?