Skip to content


Subversion checkout URL

You can clone with
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (19 sloc) 0.713 kB
/* The following code example is taken from the book
* "C++ Templates - The Complete Guide"
* by David Vandevoorde and Nicolai M. Josuttis, Addison-Wesley, 2002
* (C) Copyright David Vandevoorde and Nicolai M. Josuttis 2002.
* Permission to copy, use, modify, sell and distribute this software
* is granted provided this copyright notice appears in all copies.
* This software is provided "as is" without express or implied
* warranty, and with no claim as to its suitability for any purpose.
#include "ifthenelse.hpp"
#include "promote1.hpp"
#include "promote2.hpp"
#include "promote3.hpp"
#include "promote4.hpp"
template <typename T>
class Array {
#include "promotearray.hpp"
Jump to Line
Something went wrong with that request. Please try again.