Lambda Expressions
An Introduction with Examples in C++ |
Prof. David Bernstein
|
Computer Science Department |
bernstdh@jmu.edu |
INVOKE
operation is applicablestd::function
in <functional>
std::function
:
closest()
Function
Note: This function is passed the origin, the destinations, the
number of destinations, and the
std::function
to use to calculate the distance.
closest()
closest()
assertThrows()
Function