I am trying to create some general functions that operate on containers and was wondering when creating it should I use
ortemplate <class T>
I figure i should use typname T if I am creating generic functions for primitive continers and class for class types. Am I wrong. I found online conflicting ways to do it so I can't assume one or the other.template <typename T>



LinkBack URL
About LinkBacks



CornedBee