← Back to team overview

kicad-developers team mailing list archive

Re: Removing uses of 'using namespace std'

 

Le 02/12/2013 14:54, Lorenzo Marcantonio a écrit :
> On Mon, Dec 02, 2013 at 02:25:40PM +0200, Povilas Kanapickas wrote:
>> What do the KiCad developers think about this idea? KiCad currently has
>> only 23 uses of 'using namespace std' so the patch won't be large.
> 
> Also 90% of these would be for std::string, the remaining 10% for some
> vector and map... 
> 
> Fine with this, also because the long type names used more than once
> or twice (something like std::map<std::string, whatever>) have been
> typedef-ed...
> 
> I vote yes to the proposal
> 

I always am using std::xxxx notation, to be sure to use the right classes.

So I also vote yes to the proposal

-- 
Jean-Pierre CHARRAS


Follow ups

References