Solved

A Copy Constructor, a Destructor and an Overloaded Assignment Operator

Question 36

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

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions