This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
C++ question: MI vs. pure virtuals
- To: gcc-bugs at gcc dot gnu dot org
- Subject: C++ question: MI vs. pure virtuals
- From: Chip Salzenberg <chip at valinux dot com>
- Date: Fri, 31 Dec 1999 18:08:43 -0800
I've studied the Standard but I can't seem to find an answer to this
question: Are inherited *non-virtual* functions supposed to provide
implementations for pure virtuals?
For example, given this:
class A { virtual void f() = 0; }; // PURE VIRTUAL
class B { void f() {} }; // NON-VIRTUAL
class C {}; // ??
Is class C abstract like A, or not?
--
Chip Salzenberg - a.k.a. - <chip@valinux.com>
"Fleagal. Bingo. Drooper. Snork. They're cops." //MST3K