------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 17:58 
-------
Invalid.
The valid code for the class A would be:
class A : public ADT
{
public:
    using ADT::a;
    virtual void a(ADT& a) { }
};

once you define a function in derivered class it overrides all the functions of with 
the same name, 
adding a using says that we want to include the functions from the superclass.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18223

Reply via email to