How would I do this?
Code:class Base
{
public:
virtual string getName() const = 0;
//I want this to call the implemented getName
string getSomething()
{ return ( "Base." + getName() ); }
};
class Derived : public Base
{
public:
virtual string getName() const
{ return "Derived"; }
};