Re: public method hidden by protected one

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

we call it like that :
   DonneesCP dcp = InterfaceDonneesCP_OC::instance()->getDonneesCP();

The method "instance" returns a InterfaceDonneesCP_OC* (non const)

But why should this prevent from calling a const method ?

Additionnal informations :
  InterfaceDonneesCP_OC inherits (public) InterfaceDonneesCP where the
two getDonneesCP are defined.

François


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux