@stefan : template are often a great feature, I use them in my AStar code as you might have seen. But don't try to use them when wanting them to access via dynamic linking from a .dll for example, that's scary and results in more work than using another possibility, I once tried that in a NN - simulator ...
and yes, rick, that <...> stuff is mostly only needed when instantiating data elements. your problem is of course a bit more complicated, a template function inside a template class ...
maybe you should try to compose classes using virtual base classes and multilayered template constructs .... I guess that'd be almost the summit of crazyness ... I'm using some virtual base class in my bot - in theory everything is fine, but some fuckin' compilers don't like each part of those, creating warnings etc.. you won't guess which one