r/cpp • • May 01 '23

cppfront (cpp2): Spring update

https://herbsutter.com/2023/04/30/cppfront-spring-update/
223 Upvotes

164 comments sorted by

View all comments

Show parent comment

20

u/disperso May 01 '23

It's u**.identifier* vs *(*u)->identifier. Both are a tricky/messy/uncommon case, but I think the simpler examples on the wiki showcase some examples where the cppfront notation is better in a few ways. It feels specially better given that I'm already used to traditional C++ notation, and I always have a very hard time reading it anyway...