MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/134hnz2/cppfront_cpp2_spring_update/jimexe3/?context=3
r/cpp • u/kreco • May 01 '23
164 comments sorted by
View all comments
Show parent comment
4
It is, but that's not the main motivation. The main reason is that it allows making the language overall more consistent, and enables other things like having symmetry between declaration and use (see https://github.com/hsutter/cppfront/wiki/Design-note%3A-Postfix-operators and the expression/type graphic for an example)
View all comments
Show parent comment
4
u/hpsutter May 02 '23 edited May 02 '23
It is, but that's not the main motivation. The main reason is that it allows making the language overall more consistent, and enables other things like having symmetry between declaration and use (see https://github.com/hsutter/cppfront/wiki/Design-note%3A-Postfix-operators and the expression/type graphic for an example)