kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #02469
Re: RS274X file format.
-
To:
kicad-devel@xxxxxxxxxxxxxxx
-
From:
Wayne Stambaugh <stambaughw@...>
-
Date:
Sat, 02 May 2009 08:31:40 -0400
-
In-reply-to:
<49FB6ECD.3010801@...>
-
User-agent:
Thunderbird 2.0.0.21 (Windows/20090302)
Dick Hollenbeck wrote:
>
>> This is why I have been using wxList and wxArray instead of C++ list and
>> vector.
>
>
> I don't share your enthusiasm for these two containers.
I am not enthusiastic about using these containers either. I would much
rather use the standard C++ libraries as long as I don't get bit by
portability issues. In fact I initially considered using C++ list
instead of wxList for the changes I made to CVPcb. The C++ list
implementation has a unique method that would have simplified things
significantly. I will start using the the C++ container classes going
forward and change the code I have already committed as time permits.
>
> There is little standard about C++ if <vector> is not.
>
> In fact I would even disagree with you. wxString is reasonable because
> it is unicode and work with the gui functions. Beyond that using
> standard C++ containers is entirely safe and likely gives you an easier
> path to a different GUI library. Say somebody wanted to go to QT
> someday......
Hopefully someone will write a wxQT port so our job will be a simple
recompile.
Wayne
>
>
> Dick
References