Solved

A Copy Constructor, a Destructor and an Overloaded Assignment Operator

Question 2

Multiple Choice

A copy constructor, a destructor and an overloaded assignment operator are usually provided as a group for any class that uses dynamically allocated memory. With the addition of move semantics in C++11, you should also provide __________.


A) a move constructor
B) a move assignment operator
C) an overloaded move destructor
D) both a and b

Correct Answer:

verifed

Verified

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents