Boost logo

Boost Users :

Subject: Re: [Boost-users] Ambiguous symbols possibly caused by Boost 1.69.0
From: tim_at_[hidden]
Date: 2019-02-27 16:00:31


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_at_[hidden]> On Behalf Of Leon Mlakar via Boost-users
Sent: 27 February 2019 15:59
To: degski via Boost-users <boost-users_at_[hidden]>
Cc: Leon Mlakar <leon_at_[hidden]>
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_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