Boost logo

Boost :

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:05:23


2016-03-25 20:50 GMT+03:00 Manu Sánchez <manu343726_at_[hidden]>:

> Hi,
>
> You may want to check out our (Mine and Jonathan Müller's) CTTI library,
> which already implements that constexpr type_id, supporting GCC 5.X, Clang,
> and VS2015
>
> https://github.com/Manu343726/ctti
>
> (This post may also add some context
>
> http://manu343726.github.io/2016/03/13/the-road-for-reflection-tagging-types.html
> )
>
> I will be glad to give you some feedback on this.
>

Thanks, the information about workarounds for GCC's ICE really helped!

Meanwhile, I've updated the magic_get library
https://github.com/apolukhin/magic_get
* now works with enums too
* more compile time assertions with useful notes
* more useful methods (flat_get<>() that returns non-const reference if
possible, flat_make_tuple, flat_tie)
* added some docs and examples to the repo

-- 
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