Boost logo

Boost Users :

Subject: Re: [Boost-users] Visual Studio 2010 Building Error
From: Brian Budge (brian.budge_at_[hidden])
Date: 2011-02-13 20:16:03


Hi Abdullah -

You could remove it, and replace it by specific "using" cases, i.e.
"using std::cerr", or not apply a using clause at all, and specify the
namespace when you use it.

  Brian

2011/2/13 Abdullah García <abdullah.garcia_at_[hidden]>:
> Hi Igor,
>
> I have a "using namespace std;" codeline. What should I do with this
> codeline?
>
> Greetings!
>
> On Sun, Feb 13, 2011 at 2:41 PM, Igor R <boost.lists_at_[hidden]> wrote:
>>
>> > Thanks a lot for your explanation. I don't have a clue on how to solve
>> > it.
>> > Did you actually were able to solve it? How?
>>
>> Do you have any "using namespace std;" directive or "using
>> std::shared_ptr;" in your code? It may be the cause of the abmiguity
>> you encoutered.
>> _______________________________________________
>> Boost-users mailing list
>> Boost-users_at_[hidden]
>> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
>
>
> --
> Abdullah García
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


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