jeudi 21 mai 2015

Check if a class has a static member function of a given signature

In this question:

Check if a class has a member function of a given signature

They address the problem of how to determine if a class has a member function of some type. This could sound as a naive question but I couldn't find out on my own. How can I determine if there is a static function of that given signature? Could you extend the example given in the question linked to determine if there is a static function in that class that returns used_memory or whatever?

Aucun commentaire:

Enregistrer un commentaire