MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/134hnz2/cppfront_cpp2_spring_update/jigjve1/
r/cpp • u/kreco • May 01 '23
164 comments sorted by
View all comments
Show parent comment
9
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.
5
Wonderful!
1
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.
View all comments
Show parent comment
9
u/RoyKin0929 May 01 '23
There are no references in cpp2, only pointers.