Revert "template: added support to set template variable as arbitrary pointer"

This reverts commit 0920537ad99f151036a9a55aa99391a38686ba7e.

bad idea!