I've tried something like this ...
Code:
template <class T, int element, int integer>
... and making all of the appropriate changes along the way, but that still didn't work .