Modern C++:Efficient and Scalable Application Development
上QQ阅读APP看书,第一时间看更新

Function pointers

When an application is run, the functions it will call will exist in memory somewhere. This means that you can get the address of a function. C++ allows you to use the function call operator (a pair of parentheses enclosing the parameters ()) to call a function through a function pointer.