ORNL / cpp-proposals-pub

Collaborating on papers for the ISO C++ committee - public repo
26 stars 27 forks source link

[P2642] Remove constexpr/noexcept from defaulted special members #435

Open Quuxplusone opened 1 year ago

Quuxplusone commented 1 year ago

constexprness/noexceptness are automatic for defaulted special members. (That is, they're automatically inferred with the correct values. I have not confirmed whether all your noexcepts here were actually always-true; it's possible that by doing this I'm removing the possibility of "rogue std::terminates," and you ought to consider that before merging.)