Boost logo

Boost :

From: Dave Harris (brangdon_at_[hidden])
Date: 2005-05-05 07:27:38


In-Reply-To: <ufyx36ixl.fsf_at_[hidden]>
dave_at_[hidden] (David Abrahams) wrote (abridged):
> >> * This isn't an algorithm, so I don't want to evoke std::for_each.
> >
> > What is it that makes std::for_each an algorithm and BOOST_FOREACH
> > not?
>
> You might consider just answering the first part of that question for
> yourself: "what is it that makes std::for_each an algorithm?"

It's a finite series of well-defined steps. As is BOOST_FOREACH.

In any case, we use underlines in keywords and macros, too. For example,
"dynamic_cast" or "BOOST_STATIC_ASSERT".

-- Dave Harris, Nottingham, UK.


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