Boost logo

Boost :

From: Joel de Guzman (djowel_at_[hidden])
Date: 2003-10-01 13:09:02


David Abrahams <dave_at_[hidden]> wrote:

>> Is it possible to brake the for_each loop in MPL, and if not,
>> what is the prefferred way to achieve this effect?
>
> It sounds like for_each is the wrong algorithm for you. If
> compile-time, use mpl::find_if. If runtime, several of us have been
> thinking about a library of tuple algorithms, but we don't have
> anything comprehensive implemented yet, sorry.

I have one done already ;) It's based on the TR tuples implementation
in the sand-box. I'll post the details very soon.

-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net

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