wxArrayInt bracket [] operator for value assignment
Carsten A. Arnholm
arnholm at offline.no
Sat Jul 21 12:36:39 PDT 2007
Vadim Zeitlin wrote:
> "Carsten A. Arnholm" wrote:
>> I think a long term goal should be that they are STL containers,
>> supporting the well known interface of std containers.
>
> That's what happens in wxUSE_STL=1 build.
>
Interesting.... that is defined in setup.h, right? It looks like wx
containers are derived from the std containers then. Hopefully the
derivations don't contain any context info, so that using them as ordinary
STL containers don't break anything.
>> I will be looking forward to see how this will be in wxWidgets 3
>> then!
>
> Again, you can already do it with 2.8. And feedback about the problems
> with STL build (which is still used less than the default one because,
> well, it's not on by default) is very welcome.
Ok, but I am distributing my application in binary form. On Linux, it means
relying on the ready built built packages at http://apt.wxwidgets.org (users
will install those my app depend on). I guess setting wxUSE_STL=1 means I
will no longer be able to use the standard packages....
But it could be an interesting thing to try as an experiment anyway....
Best regards
Carsten A. Arnholm
http://arnholm.org/
N59.776 E10.457
More information about the wx-users
mailing list