Template class Sig class function

The template class function is included in the header <functional>.

Remarks

This is a highly generic and powerful "call back" mechanism that includes function pointers, member function pointers, and arbitrary function objects while maintaining similar syntax and semantics to function pointers.

Listing: Class Synopsis
Namespace std::tr1 {
Stuff
}