
2 Jan
2010
2 Jan
'10
11:10 a.m.
I'd go so far as to say it's basically impossible with the current code base - I started out using regexes that matched nested { and } so I could identify the full boost namespace scope - but although it 99% worked there were always cases where there were { or } in macros or comments that weren't balanced :-( In short you would need a full C++ preprocessor and lexor to handle this.
Probbably more than that, unless you accept that the output is target dependent. The preprocessor would otherwise strip off code that need to be processed.
Nod. In short "there's no easy way". John.