Boost logo

Boost :

Subject: Re: [boost] Checking interest in std::get for PODs
From: Antony Polukhin (antoshkka_at_[hidden])
Date: 2016-06-04 14:06:23


2016-06-04 16:58 GMT+03:00 Bjorn Reese <breese_at_[hidden]>:

> On 06/03/2016 08:27 AM, Antony Polukhin wrote:
>
> 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
>>
>
> Could the "Enums will be returned as their underlying type" limitation
> be partially worked around by allowing users to register their own
> enums?
>

Yes, that's possible. But I was trying to avoid that functionality. If
users will be able to register their own types, then the library will
become just one of many libraries where you have to manually describe your
structures using macros/traits.

-- 
Best regards,
Antony Polukhin

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