cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Template help
Template help
Feb 25, 2019 at 8:36pm UTC
MrGreenz
(2)
How would one implement this:
printContainer<Set>(words.begin(), words.end());
as a template class ?
Feb 25, 2019 at 11:19pm UTC
fiji885
(306)
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.