c++/10311: Wrong default argument used in virtual function call

nathan@gcc.gnu.org nathan@gcc.gnu.org
Fri Apr 4 17:01:00 GMT 2003


Synopsis: Wrong default argument used in virtual function call

State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Fri Apr  4 17:01:25 2003
State-Changed-Why:
    not a bug. what cdl.fct.default means is that a declaration
    of B::print (char const *); would not somehow inherit
    a::print's default argment list.
    
    default arguments are attached at the call site, so will be those for A

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10311



More information about the Gcc-bugs mailing list