¡@

Home 

c++ Programming Glossary: type2num

Absence of typeof operator in C++03?

http://stackoverflow.com/questions/4533758/absence-of-typeof-operator-in-c03

we put it into an array dimension template typename struct type2num template int struct num2type template typename T typename type2num.. template int struct num2type template typename T typename type2num T dim dispatch T const Then it goes from that number back to.. a type we write #define REGISTER_TYPE T N template struct type2num T static int const value N typedef char dim N template struct..