Suppose that a client uses a struct object for the DataType of a class template, and this will require that operators (used within the class functions) are overloaded. The best way to tell a client which operators will need to have overloaded operator functions, and how the functions should be written, is to:

A. send the client a detailed email about all required overloaded operator functions
B. place comments above the class template that specify the details of the required overloaded operator functions
C. write details about the required overloaded operator functions into the client’s main program
D. You shouldn’t tell the client how to do it – you should write the overloaded operator functions yourself, and place them in another file

B

Computer Science & Information Technology

You might also like to view...

The text formatting feature that places a definitive line around each text character is ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

The Mini Translator button stays active until you toggle it off

Indicate whether the statement is true or false

Computer Science & Information Technology