A template class called example has a member function whose prototype is:

T doesSomething (const T&);
Which of the following is the correct header for the implementation of doesSomething?

a) T example::doesSomething(const T& thing)
b) T example::doesSomething(const T& thing)
c) example::doesSomething(const T& thing)
d) example::doesSomething(const &thing)

b) T example::doesSomething(const T& thing)

Computer Science & Information Technology

You might also like to view...

The Java API strongly recommends that classes implementing the ____ interface define a long instance variable named serialVersionUID, and set it to a unique number.

A. Comparable B. Serializable C. Class D. Enum

Computer Science & Information Technology

The BindingSource object provides the connection between the DataSet and the ____ on the form.

A. database B. bound controls C. TableAdapter D. BindingNavigator

Computer Science & Information Technology