Boost logo

Boost :

Subject: Re: [boost] 1.43.0 range_ex
From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2010-05-06 08:55:35


Robert Jones skrev:
> On Thu, May 6, 2010 at 10:46 AM, Thorsten Ottosen <nesotto_at_[hidden]> wrote:
>
>> stop using
>>
>> using namespace foo::bar;
>>
>> :-)
>>
>> Seriously, people really need to qualify their function calls.
>>
>>
> This is/should be a C++ coding guideline. Item 13 from
>
> http://bulldozer00.wordpress.com/2010/02/01/project-specific-coding-guidelines/
>
> reads
>
> Minimize “using” directives, liberally employ “using” declarations to keep
> verbosity low.

I don't agree with the liberal use of using declarations. Namespace
aliases are much better IMO.

-Thorsten


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk