Title. I know the following:
- Obj& : reference to an Obj
- Obj** : pointer to an Obj*
- Obj&& :
reference to a Obj&EDIT: Rvalue reference
However, I do not know what fundamental differences there are between these types, nor when to use which. Any insights and help appreciated.
(Also: I imagine there is no limit to this, you could syntactically speaking have an Obj***** right ? Although you probably would never want to.)
EDIT: My main question is really when/why would you chose to use a ref to pointer rather than a double pointer ? Or why either is needed really.