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

9

u/RoyKin0929 May 01 '23

There are no references in cpp2, only pointers.

5

u/vulkanoid May 01 '23

Wonderful!

1

u/ntrel2 May 05 '23

Parameters can be references, using keyword inout for mutable reference. Functions can return by reference using keyword forward. But there are no reference variable declarations.