The problem isn't with the templates, they work fine. The problem is the
compiler assigns the type 'char*' to strings rather than 'const char*'. I'm
not willing to fix this at the moment because it'll break an unknown amount
of code. To workaround, create a specialization that works off of char*.