From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2003-09-30 20:59:16
The boost::mpl::for_each function doesn't appear to be listed in the MPL
reference. Does this mean it's for internal use only or has it just been
overlooked? Or, did I miss something?
Also, sometimes it's convenient to brake the loop on certain condition.
Like, when comparing relational tuples in our library, we go through the
field list, which is a type list. Once 2 fields don't compare equal, we
have to stop. Is it possible to brake the for_each loop in MPL, and if not,
what is the prefferred way to achieve this effect?
Thanks in advance,
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk