Write a Multiton class.(It is similar to singleton, but the user would limit the maximum number of instances that can be created, at run time). [ Hint - Write a singleton class (A class that can have only one instance). Then convert it to Multiton Class. ] without using templates. C++ templated class implementation of the multiton pattern?
Aucun commentaire:
Enregistrer un commentaire