From: David Abrahams (dave_at_[hidden])
Date: 2007-03-27 19:28:06
on Tue Mar 27 2007, "Daniel Walker" <daniel.j.walker-AT-gmail.com> wrote:
> On 3/23/07, David Abrahams <dave_at_[hidden]> wrote:
>> I don't get it. As mentioned earlier, we automatedly test our
>> examples and that one passed. Any idea why?
> I looked in boost/libs/parameter/test and grep lambda returned
It's not there.
> I found three tests for lazy binding with operator|| and none
> used lambda. It looks like lambda was never test. Is there some other
> way it would have been tested that I'm missing?
Yes, we have a system (see tools/litre) that allows us to embed
testing instructions in the source for our documentation. Actually
the process assembles source files and a Jamfile. We then run all the
tests in that Jamfile. If you look at the .rst files that document
the use of lambda, you can see that those examples are tested.
>> I'm open to whatever you and Daniel agree on.
> I like the idea of replacing the lambda example with a boost::bind
> example as Daniel suggested above.
Daniel, can you do that?
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk