3 ms·
Value semantics are the only sensible default in a language like C++. If you need reference semantics, store (smart) pointers explicitly.
by Sharlin 14y ago
Value semantics are the only sensible default in a language like C++. If you need reference semantics, store (smart) pointers explicitly.