Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-01-27 10:34:51


From: "Douglas Gregor" <gregod_at_[hidden]>
> On Monday 27 January 2003 10:07 am, Markus Werle wrote:
> > They are used _in_ _parallel_, not together.
> > IMHO it is a good idea to have them both in name namespaces.
> >
> > Any good reason to leave them in :: scope?
>
> Because writing boost::_1 is a lot of extra typing, and "using namespace
> boost" is not an option for all users (it brings in a lot of names that
might
> conflict with user code).

Well said, thanks Doug. :-)

> I keep hoping that Boost.Bind's _1 and Boost.Lambda's _1 will become the
same
> entity at some point...

This is definitely the right thing to do in theory; in fact, even
boost::bind and boost::lambda::bind should become the same entity. But it
isn't easy.


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