| An Introduction to GCC - for the GNU compilers gcc and g++ by Brian J. Gough, foreword by Richard M. Stallman Paperback (6"x9"), 144 pages ISBN 0954161793 RRP £12.95 ($19.95) "Answers common questions and provides many useful hints" --- Dr. Gerald Pfeifer (SUSE) -- Technical Editor Get a printed copy>>> |
7.4 Templates
Templates provide the ability to define C++ classes which support
generic programming techniques. Templates can be considered as a
powerful kind of macro facility. When a templated class or function is
used with a specific class or type, such as float or int,
the corresponding template code is compiled with that type substituted
in the appropriate places.
| ISBN 0954161793 | An Introduction to GCC - for the GNU compilers gcc and g++ | See the print edition |