[Bug c++/123662] [reflection] Unexpected "error: consteval-only expressions are only allowed in a constant-evaluated context"

boris.staletic at protonmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jan 29 08:15:17 GMT 2026


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

--- Comment #2 from Boris Staletic <boris.staletic at protonmail dot com> ---
One thing I forgot to mention here is that removing the default member
initializer from `bool none` lets gcc compile.


More information about the Gcc-bugs mailing list