(Wangle) Support .then(function pointer) syntax
Summary: Support `.then(&static_function)`, `.then(&static_member_function)`, `.then(&Class::static_member_function)`, `.then(instance, &Class::member_function)` in Wangle. C++ does not allow `.then(instance, &member_function)`, sadly. This implementation just creates the closure for you and defers to the existing `then` implementations. Test Plan: Added a test. Reviewed By: hans@fb.com FB internal diff: D1204954
Showing
Please register or sign in to comment