Boost logo

Boost Users :

From: Geoffrey Romer (geoff.romer_at_[hidden])
Date: 2005-10-05 15:44:54


Suppose I'm tying to build a nested lambda expression, like so
(typename...::type omitted for simplicity):

lambda<higher_order_func<lambda<foo<_1> >, _2> >

- Is this legal?
- Does the _1 refer to the first argument of the inner lambda, or of
the outer lambda?
- Can the above be overridden? I.e. what if I want to refer to the
arguments of both lambdas within the inner lambda?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net