Lecture 1 - Slide 23 : 34 |
Functions in C can be used as data of function type
![]() | Same program - without explicit use of the address and dereferencing operators. |
![]() | Same program - using a typedef to capture the function type. |
C++ supports lambda expressions (closures)
C++ also supports function objects (by overload of operator() such that an object my be used as a function