Subject: Re: [boost] Nasty compile time reflection and iteration for POD types using C++14 without macro
From: Antony Polukhin (antoshkka_at_[hidden])
Date: 2016-04-01 15:11:34
2016-03-25 20:04 GMT+03:00 Klemens Morgenstern <klemens.morgenstern_at_[hidden]>
> And that worked on GCC5.3 and Clang3.7.
>> Looks like it's time to continue the work on
>> https://github.com/apolukhin/type_index/tree/constexpr14 and make the
>> type_index constexpr :)
> Ah, then I'll redirect my PR.
Looks like it's almost done. I'll try to add workaround for GCC's ICE
> Actually you do not need to add types. The code must work with any POD type
>> as member types are either
>> 1) fundamental types (that are registered)
>> 2) or PODs, then goto step 1) for that member
> Oh, I thought you'd need to register POD-Types. What about enumerators?
Just added some support for them. Enums are represented by underlying type
(not the best solution, but at least usable).
-- 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