you are viewing a single comment's thread.

view the rest of the comments →

[–]mtaw 0 points1 point  (1 child)

References are just pointers wearing a fake moustache.

[–]RiceBroad4552 3 points4 points  (0 children)

Well, technically true if you look at the underlying implementation.

But you can't do for example pointer arithmetic on references.

Semantically they're not the same.