Template help

How would one implement this:
 
  printContainer<Set>(words.begin(), words.end());

as a template class ?

What you've provided is a function that belongs to a class template.

http://www.cplusplus.com/doc/oldtutorial/templates/
Topic archived. No new replies allowed.