2016-03-25 20:04 GMT+03:00 Klemens Morgenstern
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 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66460
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