Boost logo

Boost :

Subject: Re: [boost] Is there any interest in a library which solves C++ class reflection feature just like Java does?
From: Roman Perepelitsa (roman.perepelitsa_at_[hidden])
Date: 2011-12-07 08:21:54


2011/12/7 Larry Evans <cppljevans_at_[hidden]>

> On 12/07/11 06:51, Roman Perepelitsa wrote:
> > 2011/12/7 Vicente J. Botet Escriba <vicente.botet_at_[hidden]>
> >
> >> So please, don't start a discussion stating that we need a
> >> compile-time/run-time or c++11/c++98 library. All the combinations have
> its
> >> usage, each one with its advantages and liabilities.
> >>
> >
> > Point is that it's possible to build runtime reflection on top of
> > compile-time reflection, but the opposite isn't true. One can even claim
> > that runtime reflection *must* be implemented on top of compile-time
> > reflection, so proposing *just* runtime reflection is pointless.
> Hi Roman,
>
> Could you please show an example run-time reflection being build on top
> of compile-time reflection

Mirror is such a library.

> or explain more on why this is true?

I think it's a good question which deserves a good answer, but due personal
(or rather work) reasons I can't provide it right now. I'll try to get back
to it next weekend.

Roman Perepelitsa.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk