[Bug c++/124312] [reflection] vector<meta::info> unusable in consteval context with _GLIBCXX_DEBUG=1

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 5 15:24:48 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124312

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Giel from comment #0)
> When trying to build a project that was using reflection to construct a
> concept I discovered std::vector<std::meta::info> to be unusable in constant
> expressions (consteval) when defining _GLIBCXX_DEBUG=1. I suspect the debug
> implementation isn't yet ready to function properly for that.

Yes, this is a known issue and not expected to work.


More information about the Gcc-bugs mailing list