At present, I'm using a C-like language (NXC) to control a LEGO MINDSTORMS robot. That C-like language doesn't have support for generics (or, not being C++, classes. But I digress). However, I read in an outdated C++ book that either C or C++ has a file called generic.h, which contains helpful preprocessor macros (ie name2 and declare) for doing this.
Is there any way I can get a copy of this file?