Subject: Re: [boost] Is there any interest in a library which solves C++ class reflection feature just like Java does?
From: Brian Wood (woodbrian77_at_[hidden])
Date: 2011-12-06 14:31:56
on Tue, Dec 6, 2011 at 2:40 AM, jinhua luo <ljh.home.king_at_[hidden]> wrote:
>> It has some unique advantages:
>> a) it doesn't require code generator
> Good, but it is not so unique
Because C++ compiler is a code generator?
>> d) Cross shared library boundary, you can dynamic load the shared library
>> and reflect the classes within it, without need to export any symbol
>> manunally in C wrapper function way
> I believe (and I have some expertise in using and implementing reflection
> in C++ to base that belief upon) that the basic reflection should
> compile-time and any run-time reflection should be built on top
> of that.
-- Brian Wood Ebenezer Enterprises http://webEbenezer.net <http://webebenezer.net/> (651) 251-9384
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk