2016-03-25 20:50 GMT+03:00 Manu Sánchez
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... )
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