C and C++ have a typedef keyword that allows us to assign identifiers to function pointers and types. That means whenever a function declaration may go from void (*StartFn) () to for example, std::vector<const char*>::iterator (*Start) (), only the typedef has to be changed. Not the references that use it. This saves both time and effort.
C and C++ have a
typedef
keyword that allows us to assign identifiers to function pointers and types. That means whenever a function declaration may go fromvoid (*StartFn) ()
to for example,std::vector<const char*>::iterator (*Start) ()
, only the typedef has to be changed. Not the references that use it. This saves both time and effort.