jove
Member
Hello,
Since I cannot afford Code Warrior, I am moving all my code to the free Project Builder. All the code ported over, except for a few minor changes. I am stuck on one.
Base class, sub class, and sub-sub class all have "operator =" methods using different parameters. In Code Warrior the "using" keyword can be used to promote super class versions of the operator.
class base_class
{
operator = ( const char * ) {}
}
class sub_class : public base_class
{
using base_class operator =;
operator = ( long ) {}
}
This does not work with Project Builder. I have a similar situation with three overloaded methods in the base class where one is virtual (the others are inlined calling variations). I have an error when I attempt to override the virtual method.
Any help is appreciated.
Since I cannot afford Code Warrior, I am moving all my code to the free Project Builder. All the code ported over, except for a few minor changes. I am stuck on one.
Base class, sub class, and sub-sub class all have "operator =" methods using different parameters. In Code Warrior the "using" keyword can be used to promote super class versions of the operator.
class base_class
{
operator = ( const char * ) {}
}
class sub_class : public base_class
{
using base_class operator =;
operator = ( long ) {}
}
This does not work with Project Builder. I have a similar situation with three overloaded methods in the base class where one is virtual (the others are inlined calling variations). I have an error when I attempt to override the virtual method.
Any help is appreciated.