This is an item in issue http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#325 . A couple of community members created an openoffice document during C++11 last-minute-fixes and this was on that list.

Eric Suen via Std-Discussion <std-discussion@lists.isocpp.org> schrieb am So., 6. Juni 2021, 20:16:
>
> NSDMIs are evaluated in a complete-class context. This is one reason
> they can't be `auto`.
>
How do you get complete-class context when you unable to parse

   int a = V<1>();

correctly?

Look ahead for ';' if you encounter '=' in declarator?
--
Std-Discussion mailing list
Std-Discussion@lists.isocpp.org
https://lists.isocpp.org/mailman/listinfo.cgi/std-discussion