[Interest] Container members in abstract base class?

Jonathan Greig redteam316 at gmail.com
Wed May 22 21:38:41 CEST 2013


I was able to get static_cast to work also if I static casted the
QGraphicsItem* to a DerivedObject* and then static casted the
DerivedObject* to a BaseObject*. I'll probably just derive my BaseObject
from QGraphicsPathItem since it has most of what I need and just use
static_cast to avoid the RTTI.

- Swyped from my droid.

On May 22, 2013 1:15 PM, "Alex Malyushytskyy" <alexmalvtk at gmail.com> wrote:

They are not.
static_cast exists for purpose.



On Wed, May 22, 2013 at 10:10 AM, Constantin Makshin <cmakshin at gmail.com>
wrote:
>
> Well, C-style...

_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130522/3abe6086/attachment.html>


More information about the Interest mailing list