From: Darren Cook (darren_at_[hidden])
Date: 2005-02-16 02:13:01
>>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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk