smf
smf copied to clipboard
revisit exception safety
We are breaking some laws regarding exception safety.
see all the noexcept methods for instances.
basically 2 things.
To prevent allocations either use a union {} or a pointer std::unique_ptr or seastar::lw_shared_ptr
that's it.
clang-tidy warns for this too. so all the superficial bugs were fixed.