Add an example about function pointer

In this example, a static class member function is used as a template
argument.