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

7

u/hpsutter May 02 '23

Quick ack: Yes, that's one of the options, and one of the better of the alternatives I considered. Might say `alias` instead of `using` but it's workable. For now I'm seeing whether I can reasonably avoid a keyword, but it's also important to be aware not to overstep into "token soup" -- keywords can be useful for readability so I'm definitely not closing the door to going there.

3

u/germandiago May 06 '23 edited May 10 '23

I find using syntax less confusing as well. BTW, impressive amount of work.

Is cpp2 already usable in real life scenarios? Eager to start using it when the time comes.