I have a problem with some situation of inheritance. I have base class Base and derived classes A, B and C. I created method in Base class void foo(); And my purpose of this situation is to allow B and C to use this method. I tried with std::enable_if but I don't know how to use it for this case. I'll be glad for Your help, or any clue to solve it.
Aucun commentaire:
Enregistrer un commentaire