
3 May
2005
3 May
'05
5 p.m.
Pavel Vozenilek wrote:
I'd rather like to know whether I can do a #define FOREACH(...) BOOST_FOREACH(...) in my code.
This can be problematic if the arguments are macros itself. This would result in an additional expansion of these macros. But you may want to write: #define FOREACH BOOST_FOREACH which is save in this regard. Regards Hartmut