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

--- Comment #1 from friedkeenan at protonmail dot com ---
Oh, I forgot to also mention that the error can be avoided also by not using a
designated initializer for `ints`, like so:

```
auto _ = Outer({
    {1, 2}
});
```

Additionally, both Clang and MSVC accept the rejected code.
  • [Bug c++/128838] New: Brace... friedkeenan at protonmail dot com via Gcc-bugs
    • [Bug c++/128838] Brace... friedkeenan at protonmail dot com via Gcc-bugs

Reply via email to