Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-12-03 17:42:45


Eric Niebler wrote:

> Templates don't "foil lookup in the global namespace." They merely
> require that the overload has been seen already. I have no problem
> requiring users of broken compilers to put the overload where
> BOOST_FOREACH can find it. Users of non-broken compilers can put the
> overload in an associated namespace and be happy.

That's what I do. Non-ADL compilers usually don't have two-phase lookup, so
it balances out.


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