adonthell-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Adonthell-devel] using namespace std;


From: Alexandre Courbot
Subject: Re: [Adonthell-devel] using namespace std;
Date: 05 Dec 2001 19:47:52 +0100

le mer 05-12-2001 à 11:41, Kai Sterker a écrit :
> On Tue, 04 Dec 2001 18:24:41 -0700 Lakin Wecker wrote
>  
> > 1) the best solution would be to append std::<blah> to everything that 
> > needs 
> > it in both the header and implementation file.
> 
> That's certainly the best. 
> 
> If I remember correctly, the using namespace directives were introduced when 
> we
> tried to compile with gcc 3.0. We thought that would improve performance, but 
> it didn't. So it was rather a quick'n dirty hack than anything else.

Also, I did this because of swig which didn't liked stuff like
std::string for example. But with newer versions it seems to work. So we
should safely be able to switch to a better coding style (I agree it was
ugly :))

Alex.

-- 
http://www.gnurou.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]