Lecture 6 - Slide 35 : 40 |
Compile time selection between two functions
Illustrated with an example from page 787 of The C++ Prog. Lang. (4. edition)
Can we do similar run time selection of functions in C++?
Are functions first class objects in C++?