A
Armel
Hello,
I am in this situation:
class a {
virtual int length( ) const = 0;
};
class b {
virtual int length( ) const = 0;
};
class c: public a, public b
{
virtual int length() const { return something; }
};
is it legal to write that, and will c::length be well considered as the
implementation of a::length and b::length when I make a 'c' object ?
Best regards
Armel
--
I am in this situation:
class a {
virtual int length( ) const = 0;
};
class b {
virtual int length( ) const = 0;
};
class c: public a, public b
{
virtual int length() const { return something; }
};
is it legal to write that, and will c::length be well considered as the
implementation of a::length and b::length when I make a 'c' object ?
Best regards
Armel
--