Commit b297ef2d authored by Mike Curtiss's avatar Mike Curtiss Committed by Sara Golemon

Gen apply comment

Summary: Comment

Test Plan: Builds

Reviewed By: tjackson@fb.com

FB internal diff: D814986
parent efdfacee
...@@ -156,10 +156,10 @@ class GenImpl : public FBounded<Self> { ...@@ -156,10 +156,10 @@ class GenImpl : public FBounded<Self> {
/** /**
* apply() - Send all values produced by this generator to given * apply() - Send all values produced by this generator to given
* handler until the handler returns false. Returns true until the handler * handler until the handler returns false. Returns false if and only if the
* returns false. GOTCHA: It should return true even if it completes (without * handler returns false. Note: It should return true even if it completes
* the handler returning false), as 'Chain' uses the return value of apply * (without the handler returning false), as 'Chain' uses the return value of
* to determine if it should process the second object in its chain. * apply to determine if it should process the second object in its chain.
*/ */
template<class Handler> template<class Handler>
bool apply(Handler&& handler) const; bool apply(Handler&& handler) const;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment