https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123752
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Boris Staletic from comment #3)
> > test.cpp:7:3: error: uncaught exception of type 'std::meta::exception';
> > 'what()': 'neither name nor bit_width specified'
>
> That's expected. It's a later change in the proposal that clang-p2996 fork
> has not implemented.
>
> An empty name implies an anonymous bit field. An empty bit_width implies a
> non-bit field.
Yeah.
https://eel.is/c++draft/meta.reflection#define.aggregate-5.3