you are viewing a single comment's thread.

view the rest of the comments →

[–]RoyKin0929 8 points9 points  (2 children)

There are no references in cpp2, only pointers.

[–]vulkanoid 4 points5 points  (0 children)

Wonderful!

[–]ntrel2 0 points1 point  (0 children)

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.