Hello!

Are you sure that dynamic_cast crashes when casting from 0? This seems to work for me in this testcase:

Yes, dynamic_cast<...>(0) is defined and allowed behaviour and even mentioned on the MSDN help:

"... A null pointer value is converted to the null pointer value of the destination type by dynamic_cast. ..."

http://msdn.microsoft.com/en-us/library/cby9kycs%28VS.80%29.aspx


Regards,
Frank
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to