Skip to Main Content
Visual C++ 2008: How to Program, Second Edition
book

Visual C++ 2008: How to Program, Second Edition

by P. J. Deitel, H. M. Deitel, D. T. Quirk
December 2007
Intermediate to advanced content levelIntermediate to advanced
1552 pages
46h 20m
English
Pearson
Content preview from Visual C++ 2008: How to Program, Second Edition

Chapter 15. Templates and Generics

 

Behind that outside pattern the dim shapes get clearer every day.

It is always the same shape, only very numerous.

 
 --Charlotte Perkins Gilman
 

Every man of genius sees the world at a different angle from his fellows.

 
 --Havelock Ellis
 

...our special individuality, as distinguished from our generic humanity.

 
 --Oliver Wendell Holmes, Sr

OBJECTIVES

In this chapter you’ll learn:

  • To use function templates to conveniently create a group of related (overloaded) functions.

  • To distinguish between function templates and function-template specializations.

  • To use class templates to create a group of related types.

  • To distinguish between class templates and class-template specializations.

  • To overload function templates.

  • To understand ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Ivor Horton's Beginning Visual C++ 2012

Ivor Horton's Beginning Visual C++ 2012

Ivor Horton

Publisher Resources

ISBN: 9780136085652Purchase book