views:

121

answers:

1

hello.

Is it possible to have scoped macros using custom defined macros through boost wave? I know it should a possible with C++0x however I am working with regular C++. If it is possible, can you provide link or reference how to accomplish this?

Thanks

+2  A: 

I suspect that Wave doesn't support macro scoping anymore. Older documents such as:

Discuss support for macro scoping experimentally, but I can't find any mention of it in the newer docs:

It appears that macro scoping is being left out of C++0x; I'm not sure if it's still being worked by anyone, or if it's been dropped altogether. Looking at the changelog for Boost Wave, it looks like support for scoped macros was removed from Version 1.1.7 in Aug 2004.

Michael Burr