Computer Science, asked by usa56, 1 year ago

State the use of function.

Answers

Answered by sami91
3
Hey there !

There are a number of situations where it is convenient to substitute function objects in place of functions: to use an existing function object provided by the C++ Standard Library instead of a new function; to improve execution by using inline function calls; and to allow a function object to access or set state .

Hope it helps you !
Similar questions