LOL @Stefan

He's talking about the C++ templates, which are a pre-made set of types and tools that can supposedly be used out of the box in any C/C++ program. It features linked lists, binary trees, hashtables, etc.
@Rick: never used them. Dunno

Perhaps you can get a hint on how to use passed pointers to reference functions by looking at the AStarSearch() function in Count Floyd's POD-bot source code. He passes functions addresses as parameters of this function. It sounds like a pointer indirection problem, anyhow.