Hi,
is there a commend to undefine all macros #define inside a file?
in example:
#define FOR(x) for (..............)
#define MyMacro1(x,y) ...........
// ... code ...
#undef all-macros
So that, if file above would be a *.h file included somewhere else, it will
not left "garbage" of own "local" macros.
Yes, I know its better to use templates etc, but in some cases I find
macros a bit more comfortable.
--
~~~~=~~~~l_;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
_|\___J \____, Pozdrawiam, moje www, C++, kontakt, itd.:
X-( ssn256 ) Rafal Maj Raf256 -
http://www.raf256.com/me-news/
,"-------------" (strona w budowie)