memberwise

memberwise
In terms of members (items associated with class instances).

If a copy constructor is not defined, a memberwise copy is performed. This means that a copy operation is applied to each data member in turn.


Wikipedia foundation.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • Object copy — An object copy is an action in computing where a data object has its attributes copied to another object of the same data type. An object is a composite data type in object oriented programming languages. The copying of data is one of the most… …   Wikipedia

  • Special member functions — [cite book last = ISO/IEC authorlink = International Organization for Standardization title = International Standard ISO/IEC 14882: Programming languages C++ = Languages de programmation C++ edition = 1 publisher = ISO/IEC date = 1998 oclc =… …   Wikipedia

  • Assignment operator (C++) — In the C++ programming language, the assignment operator, = , is the operator used for assignment. Like most other operators in C++, it can be overloaded. The copy assignment operator, often just called the assignment operator , is a special case …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”