[prev in list] [next in list] [prev in thread] [next in thread]
List: hpux-cxx-dev
Subject: RE: CXX-DEV: class cast as a struct
From: Dennis Handly <dhandly () cup ! hp ! com>
Date: 2000-09-27 7:18:59
[Download RAW message or body]
>Not sure what would be a portable solution though.
-larry
A portable solution may be to cast to the base class before casting to void*.
Then cast void* to the base class and use dynamic_cast to cast to the
derived class?
_________________________________________________________________
To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
with the message UNSUBSCRIBE cxx-dev
_________________________________________________________________
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic