-
Notifications
You must be signed in to change notification settings - Fork 261
[BUG] Static member function call accepts both .
and ::
#339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm surprised that |
Thanks. What about |
Even with unified scope/member selection, shouldn't the call translate to |
Both |
Most probably this is an incidental bug. |
Thanks. Interim reply re |
Elaborating, now that I'm paging this back into my own memory: Using Shout out with thanks to Andrew Sutton, Wyatt Childers, and the other good folks then at @lock3 who pointed out this issue, and who suggested and implemented the |
This is an example code:
The last two lines should led to compilation fail, but C++2 generates the following C++1 code:
The text was updated successfully, but these errors were encountered: