Boost logo

Boost :

Subject: Re: [boost] [reflection] Which if any reflection library to use
From: David Sankel (camior_at_[hidden])
Date: 2017-07-20 19:31:55


On Thu, Jul 20, 2017 at 11:51 AM, RAM via Boost <boost_at_[hidden]>
wrote:

>
> I'm working on code that will need to use reflection, and would like to
> know if boost already has a reflection library, or uses one preferred
> library?
>
>
The closet thing to reflection I've seen in Boost would be the Boost.Fusion
adapt macros. They actually work quite well.

> I know there are future C++ proposals such as those listed below, and am
> curious if any of them have already been implemented somewhere?
>
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0590r0.pdf
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0385r2.pdf
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0194r2.html
>
>
I'm a co-author of P0194. The companion paper (http://wg21.link/p0578) is a
bit more reader friendly and links to a clang-based implementation.

-- David Sankel


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