Boost logo

Boost :

From: Gary Powell (Gary.Powell_at_[hidden])
Date: 2001-02-27 11:11:41


Well if your compiler has partial specialization, lambda does this very
nicely.

 std::for_each(c.begin(), c.end(), ll::for_each(free1->(&CType::begin),
                                                free1->(&CType::end),
                                                _Fn);

Where _Fn can be another Lambda statement or a functor.
  -gary-

gary.powell_at_[hidden]


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk