A type has value semantics if a copy of an object is a new, independent object with the same value: changing one never changes the other, as with int, std::string and the Buffer of Listing 2.3. A type has reference semantics if copying an object gives a second name for the same underlying data, as with a pointer, or with every object in Python.
Computer Science · शब्दावली
Value semantics, reference semantics क्या है?
अन्य नाम: value semantics · reference semantics