Interesting. I thought it only supports 'printf' (so it can only dump definition to stdout, instead of being consumed by my function to compute something else), but I just checked the lastest documentation and seems like now it supports any printf-like function.
But if you want constexpr reflection (like the one in my example) __builtin_dump_struct is still not enough.