¡@

Home 

c++ Programming Glossary: isenum

How to know if the argument that is passed to the function is a class, union or enum in c++?

http://stackoverflow.com/questions/4705316/how-to-know-if-the-argument-that-is-passed-to-the-function-is-a-class-union-or

type. You could template typename E typename void struct isenum struct No char x struct Yes No n1 No n2 struct nullsink static.. checkE E sizeof Yes class template typename E struct isenum E typename tovoid int E type static bool const value false reference.. const value false reference template typename R struct isenum R void static bool const value false function FuntionType will..