Developer forums (C::B DEVELOPMENT STRICTLY!) > Compiler Framework Redesign
cbVariant class - update: discarded
rickg22:
--- Quote from: 280Z28 on December 30, 2005, 01:44:44 am ---The idea of a cbVariant seems useful (to me) as a global C::B SDK general utility class so any CB plugin can make use of it for storing preferences or internal data. Having it as a compiler plugin specific class could unnecessarily limit its use to other plugin developers.
--- End quote ---
Yes, the cbVariant and cbProperty (to be defined elsewhere in this forum) will be part of the SDK, but the new compiler framework REQUIRES these classes.
So, *ahem* hello? Anyone?
byo:
How about wxVariant ? http://www.wxwidgets.org/manuals/2.6.2/wx_wxvariant.html#wxvariant
rickg22:
--- Quote from: byo on December 30, 2005, 02:09:11 am ---How about wxVariant ? http://www.wxwidgets.org/manuals/2.6.2/wx_wxvariant.html#wxvariant
--- End quote ---
Um... eew?
(I read the docs). I don't think we'll be needing all those types... Anyway, I researched more, and the Microsoft VARIANT type is even worse :shock: . I think it'll be cheaper to implement it ourselves.
tiwag:
--- Quote from: rickg22 on December 30, 2005, 01:23:36 am ---OK, before we reinvent the wheel here...
--- End quote ---
:)
takeshimiya:
I know you said no templates, but you can still look at boost.variant.
But, a version with little (almost none) templatization, very simmilar class is boost.any.
Perhaps that's what you're looking for. :)
http://boost.org/doc/html/variant/misc.html#variant.versus-any
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version