[Bug c++/123819] [reflection] promote_strings -> std::define_static_array(views) -> exception: reflect_constant failed'

lyubomir.filipov at amusnet dot com gcc-bugzilla@gcc.gnu.org
Sun Jan 25 21:45:51 GMT 2026


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

--- Comment #1 from Lyubomir Filipov <lyubomir.filipov at amusnet dot com> ---
The issue also happens without the MyStringView struct - just using
std::string_view
and adding
```
#define private public
```

before including <meta> (in order to resolve the access errors) leads to the
same behavior


More information about the Gcc-bugs mailing list