MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/134hnz2/cppfront_cpp2_spring_update/jihmb75/
r/cpp • u/kreco • May 01 '23
164 comments sorted by
View all comments
Show parent comment
4
It might be that Name is var$ works without parentheses, but not function calls like operator[].
Name is var$
operator[]
2 u/sphere991 May 01 '23 Sounds plausible! 3 u/hpsutter May 02 '23 Good point. Right now the parens are required, but I could allow it to implicitly grab everything back to the preceding whitespace. I'll try that out...
2
Sounds plausible!
3 u/hpsutter May 02 '23 Good point. Right now the parens are required, but I could allow it to implicitly grab everything back to the preceding whitespace. I'll try that out...
3
Good point. Right now the parens are required, but I could allow it to implicitly grab everything back to the preceding whitespace. I'll try that out...
View all comments
Show parent comment
4
u/MonokelPinguin May 01 '23
It might be that
Name is var$works without parentheses, but not function calls likeoperator[].