Template help

Feb 25, 2019 at 8:36pm
How would one implement this:
 
  printContainer<Set>(words.begin(), words.end());

as a template class ?

Feb 25, 2019 at 11:19pm
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.