Skip to content

Commit b2dbca2

Browse files
committed
Fix documentation on 'exclude_lambda' has the placements swapped
1 parent fd35f8c commit b2dbca2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tpie/pipelining/std_glue.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ inline pipe_middle<tfactory<bits::lambda_t, Args<F>, F> > lambda(const F & f) {
157157
/// \brief Pipelining nodes that applies to given functor to items in
158158
/// the stream. The functor should have a typedef named argument_type
159159
/// that is the type of the argument given to the call operator. It is required
160-
/// that the functor returns a pair. The first item should be a boolean
161-
/// indicating whether the item should be pushed to the next node. The second
160+
/// that the functor returns a pair. The second item should be a boolean
161+
/// indicating whether the item should be pushed to the next node. The first
162162
/// should be the value itself.
163163
/// \param f The functor that should be applied to items
164164
///////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)