Boost logo

Boost Users :

Subject: Re: [Boost-users] shared_ptr and Visual Studio 2008 Express SP1
From: Roman Perepelitsa (roman.perepelitsa_at_[hidden])
Date: 2008-11-06 03:33:41


2008/11/6 Ryan Gallagher <ryan.gallagher_at_[hidden]>

> If you really don't want to qualify the names each place they're used then
> try
> just adding "using std::tr1::shared_ptr;" after all these locations where
> you
> already do "using namespace *". If I recall correctly, the using
> declaration
> will override the names from the using directives thus disambiguating it.
>

Unfortunately using declaration won't override using directive.

Roman Perepelitsa.



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