bloomberg / clang-p2996

Experimental clang support for WG21 P2996 (Reflection).
https://github.com/bloomberg/clang-p2996/tree/p2996/P2996.md
51 stars 8 forks source link

Workaround for unexpanded builtins in experimental/meta #64

Closed dhollman closed 2 months ago

dhollman commented 2 months ago

Built-in type traits aren't being expanded in dealias. Here's a library-based workaround (I haven't tested it yet except on Godbolt)

katzdm commented 2 months ago

Hey @dhollman , thanks so much for the contribution! Would you mind linking to a godbolt demonstrating the issue this addresses?

dhollman commented 2 months ago

https://reflection.godbolt.org/z/e71xMYhPP

katzdm commented 2 months ago

Perfect, thanks Daisy!