[Bug c++/15531] dynamic_cast fails (at runtime) when dependant on friendship of invoker

gccbugs at contacts dot eelis dot net gcc-bugzilla@gcc.gnu.org
Wed May 19 17:39:00 GMT 2004


------- Additional Comments From gccbugs at contacts dot eelis dot net  2004-05-18 23:32 -------
Which access control are you referring to?
main() has been granted friendship by Derived, and in the snippet even creates a
Derived instance.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15531



More information about the Gcc-bugs mailing list