The value tag has no wiki summary.
2
votes
3answers
607 views
What should I do in C++ when implementing a container class: storing objects by value or by reference?
I'm new to C++, coming from Java.
In Java, all variables (except for primitives) are essentially pointers. They hold the address of whatever they're 'holding'.
So any Java data structure stores it's ...