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)


d. both a. and b)

Computer Science & Information Technology

You might also like to view...

Which chart element cannot be chosen from the Chart Elements dialog box?

A) Chart Title B) Error Bars C) Axis Titles D) Format Back Wall

Computer Science & Information Technology

The __________ command is used to track the revisions in a document.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

WWAN networking provides wireless connections to the Internet using networks created by cellular phone carriers.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which of the following is MOST likely to result in data loss?

A. Accounting transferring confidential staff details via SFTP to the payroll department B. Back office staff accessing and updating details on the mainframe via SSH C. Encrypted backup tapes left unattended at reception for offsite storage D. Developers copying data from production to the test environments via a USB stick

Computer Science & Information Technology