C++ Logo

std-discussion

Advanced search

Re: Question about name lookup and class member?

From: Johannes Schaub <schaub.johannes_at_[hidden]>
Date: Sun, 6 Jun 2021 20:54:09 +0200
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_at_[hidden]> 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_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-discussion
>

Received on 2021-06-06 13:54:31