Boost logo

Boost Users :

Subject: Re: [Boost-users] [Lambda] Handling Bind/Lambda name clashes.
From: Peter Dimov (pdimov_at_[hidden])
Date: 2011-04-06 13:46:47


Eric Niebler wrote:

> I'm saying that boost::function should actually be defined in
> boost::function_adl_block and be imported into the boost namespace with a
> using declaration.

This makes no sense to me. boost::bind is the unconstrained function
template found by ADL, not boost::function. You ought to be arguing that
boost::bind should be in an ADL-blocking namespace. Of course this will
break all code that relies on ADL to omit the boost:: qualification.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net