|
Boost Users : |
Subject: Re: [Boost-users] Ambiguous symbols possibly caused by Boost 1.69.0
From: Leon Mlakar (leon_at_[hidden])
Date: 2019-02-27 15:59:11
On 27.02.2019 16:53, degski via Boost-users wrote:
> On Wed, 27 Feb 2019 at 11:05, Tim Burgess via Boost-users
> <boost-users_at_[hidden] <mailto:boost-users_at_[hidden]>> wrote:
>
> Hi Gavin,
>
> Just to be clear, is it just "using namespace boost;" I need to
> worry about,
> or do I also need to strip out entries like "using namespace
> boost::filesystem;"?
>
>
> "using namespace xxx" is probably a bad idea in any [if not all]
> case[s], if the namespace is lengthy [as they tend to be in Boost], it
> would be better to define a (distinctive) namespace alias.
They are a particularly bad idea in public header files.
Best regards,
Leon
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