OK, noted. Must admit the project I’ve been working on has made me a little wiser, even if a lot older😊

 

Best wishes.

 

Tim Burgess

 

From: Boost-users <boost-users-bounces@lists.boost.org> On Behalf Of Leon Mlakar via Boost-users
Sent: 27 February 2019 15:59
To: degski via Boost-users <boost-users@lists.boost.org>
Cc: Leon Mlakar <leon@digiverse.si>
Subject: Re: [Boost-users] Ambiguous symbols possibly caused by Boost 1.69.0

 

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@lists.boost.org> 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