Boost logo

Boost :

From: jsiek_at_[hidden]
Date: 2000-01-27 00:10:56


Or with g++, even if you don't do a "using anmespace std;", the
conflict still happens :( The only way to avoid it would be to say
set() has to be in boost, and always do boost::set(), which is
a bit nasty.

Dave Abrahams writes:
> > Hi,
> >
> > I'm a bit concerned about the name clash between the property accessor
> > (for the graph stuff) function set(), and the class std::set.
> >
> > If someone does "using namespace std;", and includes <set>,
> > then they'll have trouble using the property accessor.
> >
> > I suggest we change the name.
>
> I disagree. People should not be writing using-directives, except to aid
> transitions from old pre-namespace code. The standard library is in a
> namespace so we don't have to worry about such things.
>
> -Dave
>
> ------------------------------------------------------------------------
> GET A NEXTCARD VISA, in 30 seconds! Get rates as low as 2.9%
> Intro or 9.9% Fixed APR and no hidden fees. Apply NOW!
> http://click.egroups.com/1/951/1/_/9351/_/948949324/
>
> -- Easily schedule meetings and events using the group calendar!
> -- http://www.egroups.com/cal?listname=boost&m=1
>
>
>


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