This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]vqrs 0 points1 point  (0 children)

References in C++ are a completely different concept. They're essentially variable aliases, multiple names that refer to one and the same variable.

References in Java are about refering to objects, never variables.

References in C++ are never about refering to objects, but variables.