2010/11/18 Dmitriy Igrishin <[email protected]>:
>
> PS. dynamic_cast in that case is used to downcast here, not upcast.
>

I wrote that to check if you were paying attention :-)

Use of dynamic_cast<> defeats compile-time type checks to some degree,
so indeed use it with care. I'm also not a big supporter of using the
GUI as data store, but sometimes you have to be pragmatic and it could
be the clearest way here. It's up to Magnus to decide on that.

BR,
W.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to