|
Boost Users : |
Subject: Re: [Boost-users] boost 1.37, tr1 and gcc 4.x
From: liam mail (liam.list_at_[hidden])
Date: 2008-11-11 10:53:28
2008/11/11 Sergey Sadovnikov <flex_ferrum_at_[hidden]>:
> Hello, Acsoft.
>
> Tuesday, November 11, 2008 at 6:24:51 PM you wrote:
>
>> Hello,
>> I am using boost 1.37 and gcc 4.3.2.
>> I am getting a very nasty error when I mix up boost headers and tr1 > headers in one compilation unit.
>
> Some time ago I encountered the same problem with VS 2008 SP1 and shared_ptr. Solution which I found was not to expose boost namespace into global namespace. This is ugly but works.
>
> --
> Best Regards,
> Sergey mailto:ssadovnikov_at_[hidden]
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
I would say that is not ugly but good practice ie "do not pollute the
global namespace"
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