Simplifying GENERATOR to be like ScopeGuard
Summary: It was previously breaking any time a generator included a comma, which is pretty stupid. Now, it's modelled after `ScopeGuard`, using a little operator overloading to get rid of the trailing `)` and sidestepping preprocessor issues. Test Plan: Unit tests Reviewed By: tudorb@fb.com FB internal diff: D646825
Showing
Please register or sign in to comment