27 Feb
2019
27 Feb
'19
3:59 p.m.
On 27.02.2019 16:53, degski via Boost-users wrote:
On Wed, 27 Feb 2019 at 11:05, Tim Burgess via Boost-users
mailto: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