I'm having trouble with #undef... it doesn't seem to be changing anything... at the top of my header file I have this:
#define BOOST_ANY_TYPECHECK
I want, inside the template function change_type, to use #undef to undefine it, run the function, and then redefine it if it was defined.
This doesn't seem to be working... is it local to the function itself if you use it inside a function?