[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-cpp-sig
Subject:    Re: [C++-sig] virtual functions and bind size reduction
From:       "Ralf W. Grosse-Kunstleve" <rwgk () yahoo ! com>
Date:       2009-01-31 1:13:55
Message-ID: 587097.45029.qm () web111404 ! mail ! gq1 ! yahoo ! com
[Download RAW message or body]

> This apparently works fine when running in same module but if I create a class

> derived from Base in another module (another library), this stop
> working because the dynamic_cast fails.

Simple idea: is the other module imported before the dynamic_cast is executed?
That's probably important.
(Not sure that's it; I hardly ever work with virtual functions.)

Ralf
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic