
16 Feb
2005
16 Feb
'05
7:13 a.m.
P.S. Even better would be able to write LOGVARS(*) and have it log all function parameters and local vars that are currently in scope. Is this something that the Wave library could do, or does it require a full C++ parser?
For this you'll need a at least a partial C++ parser.
Thanks, I suspected as much.
Some compilers have a feature though, which allows you to get at the current function name, though. Perhaps this would be of any help for you?
I'm using BOOST_CURRENT_FUNCTION; I couldn't tell you quickly which header/library that comes from though. Darren