|
Boost : |
Subject: Re: [boost] Checking interest in std::get for PODs
From: Larry Evans (cppljevans_at_[hidden])
Date: 2016-06-03 09:53:14
On 06/03/2016 01:27 AM, Antony Polukhin wrote:
> Hi,
>
> There's a C++14 library that is able to do basic reflections for PODs
> without any macro magic or markup: https://github.com/apolukhin/magic_get
>
> Would it be interesting for Boost? Could it pass Boost review if it has a
> reinterpret_cast in it?
>
Hi Antony,
I've no immediate use for it yet; however, I would like to understand
the implementation. I tried looking over the code here:
https://github.com/apolukhin/magic_get/blob/master/magic_get.hpp
However, it still was not obvious to me how the code works.
Could you please maybe provide some explanation of that?
TIA.
-regards,
Larry
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk