A function object is

A) an instance of a class that has exactly one member function and no member variables.
B) an object of a class that has any number of member functions, but no member variables.
C) an object of a class that overloads the function call operator ().
D) an object that has a member variable that is a pointer to a function.
E) None of the above

C) an object of a class that overloads the function call operator ().

Computer Science & Information Technology

You might also like to view...

Many years ago a scientist pointed out that everything a person or object touches is affected by that contact. And when departing the scene, the object will take a part of the scene with it. This idea was accepted a fact and became known as the _________________

a. Picard Principal b. Residual Contact Exchange c. Entropy d. Locard's Exchange Principle

Computer Science & Information Technology

The court’s ruling in Apple Computer v. Franklin Computer Corp established that

a. computer hardware can be patented. b. computer software can be copyrighted. c. object programs can be copyrighted. d. the “look and feel” of a computer program can be patented. e. Apple Computer could not patent its desktop icons.

Computer Science & Information Technology