|
Boost : |
From: Bohdan (warever_at_[hidden])
Date: 2002-09-12 07:20:45
"Vladimir Prus" <ghost_at_[hidden]> wrote in message
news:3D805A49.4020308_at_cs.msu.su...
>
> You'd need support from compiler, I guess.
>
Sure it would be better to have support from compiler, but ... :(
The best thing i can imagine now is well known 'describe' function
(possibly wrapped
by some macros). It can be internal or external (for class).
The other idea ( from Konstantin Knizhnik ) is to traverse
debug info, but i do not like it too much. It is too complicated, besides
all it
is not compiler independent.
Yet another way can be c++ parser (spirit lib?) ... i'm going too far?
:)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk