Just a thought:
rather than debug (23,4)(...) if we did:
at the top of the .cc file, after includes
#define THIS_SECTION 23
and then
debug (THIS_SECTION,4)(...)

moving code around between files would be a little easier..

similarly,
#define THIS_CLASS ClassFoo
....
debug (THIS_SECTION,4)(THIS_CLASS ":functionname: ...)

Rob


-- 
GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to