You need to use the template template parameter, for example,
template <template <typename> class containerType, typename elemType>
string _stringify(const string name, const containerType<elemType>& elems)
Please note: if you plan to use this with standard library containers, most of them have several template parameters (for example, sequence containers have two: one for the value type and one for the dispenser type).
, ( ) value_type typedef, . ,
template <typename ContainerT>
void f(const ContainerT& c)
{
typedef typename ContainerT::value_type ElementT;
}