[Bug c++/30434] wrong parse of exception declaration list in virtual functions with multiple inheritence

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Jan 14 04:39:00 GMT 2007



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-01-14 04:39 -------
The specific wording in the C++ standard:
15.4/3
If a virtual function has an exception-specification, all declarations,
including the definition, of any function that overrides that virtual function
in any dirived class shall only allow exception that are allowed by the
exception-specification of the base class virtual function.


-- 


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



More information about the Gcc-bugs mailing list