Home arrow C++ arrow Page 3 - An Introduction to C++ Templates

An Introduction to C++ Templates

Do you feel as though a subset of functions within a class are preforming the same tasks, and only differ by datatype? The power of C++ templates is that they allow alogorithms to be abstracted from their data types. Read more ...

Author Info:
By: Kais Dukes
Rating: 4 stars4 stars4 stars4 stars4 stars / 51
May 19, 2003
  1. · An Introduction to C++ Templates
  2. · C Templates
  3. · Conclusion

print this article

An Introduction to C++ Templates - Conclusion
(Page 3 of 3 )

Templates are a powerful feature of C++ that allow an algorithm to be abstracted from its data types. This article introduced the basics of template definitions and instantiation. It also covered the differences between function, class, and member templates. The next article in the series discusses default arguments and shows how to create templates with non-type parameters.
DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

blog comments powered by Disqus

- Intel Threading Building Blocks
- Threading Building Blocks with C++
- Video Memory Programming in Text Mode
- More Tricks to Gain Speed in Programming Con...
- Easy and Efficient Programming for Contests
- Preparing For Programming Contests
- Programming Contests: Why Bother?
- Polymorphism in C++
- Overview of Virtual Functions
- Inheritance in C++
- Extending the Basic Streams in C++
- Using Stringstreams in C++
- Custom Stream Manipulation in C++
- General Stream Manipulation in C++
- Serialize Your Class into Streams in C++

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials