vendredi 8 décembre 2017

Implementing an interface through a subset of its methods

I have a C++ interface with two methods. Any class implementing this interface need to implement at least one of the two methods but may define both. It is however not necessary to define both. What is the best pattern to use in such situation ?

Aucun commentaire:

Enregistrer un commentaire