What I am trying to do is have the compiler run that line for every var value it gets. This example is just that, an example, and more useful applications for this macro are also more complex.
Is there any way to have a macro that ''unrolls'' itself?
Thanks
Dwiel
Go see some hot chicks and vote to see who is hottest: dwiel.no-ip.com
Bah it is too possible, but a bit impractical. You have to create a class with two member variables and you need 3 macros to do it. This is an awsome article that shows how to make a really awsome new assert macro using this trick. http://www.cuj.com/documents/s=8464/cujcexp0308alexandr/