------- Comment #1 from pinskia at gcc dot gnu dot org  2007-08-20 13:54 -------
struct A
{
  virtual int method(int);
  int method();
};

struct B: A
{
  int method(int);
};

That is the example.  You need to add:
using A::method;

to get exposed in B, A::method.


-- 

pinskia at gcc dot gnu dot org changed:

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


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

Reply via email to