valid code?

Mike Stump
Wed Sep 10 01:40:00 GMT 2008

So, was wondering, what do people think of:

class A {
   virtual int B() { return 0; }

class B: A {
   B() { }

valid code?  I didn't find any prohibitions against it (yet) in the 98  
language standard.  I'm kinda wishing there is and was hoping someone  
where could just cite it.  :-)  If not, I'll file a bug report for it.

More information about the Gcc-help mailing list