SCOPE_SUCCESS should be able to throw, the others shouldn't
Summary: SCOPE_SUCCESS may legitimately throw, so changed the `noexcept` attribute to a conditional one. Also added the noexcept promise to the lambdas in the hope the compiler will check code during compilation appropriately. (It currently doesn't.) Test Plan: Added a unittest that failed, not passes. Reviewed By: simpkins@fb.com FB internal diff: D1093328 @override-unit-failures
Showing
Please register or sign in to comment