template containers again

Vaclav Slavik vslavik at fastmail.fm
Mon Jul 2 03:57:20 PDT 2007


Hi,

Vadim Zeitlin wrote:
> VS> That's how I understood Robert's mail, that we would keep the
> existing VS> wxVector/wxArray "classes", but make them templates,
> and keep the VS> macros for backward compatibility.
>
>  But there is no current wxVector/wxArray classes. There is only
> wxList.

That's why I wrote "classes", not classes, I used the same shortcut wx 
documentation uses in its "wxArray" section.

>  Anyhow, I think we all agree that we should use templates for
> wxVector. A question I have is whether we should do "#define
> wxVector std::vector" in wxUSE_STL build?

Certainly, I'd say -- is there any reason to not do it? 

Regards,
Vaclav


-- 
PGP key: 0x465264C9, available from http://pgp.mit.edu/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.wxwidgets.org/pipermail/wx-dev/attachments/20070702/fccc787b/attachment.pgp


More information about the wx-dev mailing list