Karel Gardas <[EMAIL PROTECTED]> writes:

> [...]
> class Foo
> {
> public:
>     virtual unsigned short
>     iiop_version() const = 0;
> };
> 
> and when I compile it, GCC emits warning from subject, although this class
> is really abstract and will never be instantiated. [...]

I guess GCC assumes that some instances of a derived class will
eventually exist, and will be dealt with via a Foo* abstract pointer.
Is it common to never attempt to delete it via that Foo* value (which
would require a virtual destructor)?


- FChE

Reply via email to