mardi 3 février 2015

c++ allow defining of only one object

While ago I read about not allowing defining further instances of one object. But I cannot find that article again. Could anybody tell me how to prevent defining any other object from class CLog?



class CLog
{
........


} log;

Aucun commentaire:

Enregistrer un commentaire