The Note Context in the rightmost column is only shown in case an annotated program exists. - You can navigate to the annotated program via the annotated slide view (= 'the note context').
A type parameterized variant of class Point - point.h. | point.h | Slide context | - | - |
The implementation of the template class Point - point.cc. | point.cc | Slide context | - | - |
A program that illustrate template instantiation. | prog.cc | Slide context | - | - |
A type parameterized variant of class Point - point.h. | point.h | Slide context | - | - |
The implementation of the template class Point - point.cc. | point.cc | Slide context | - | - |
A program that illustrate the template instantiation. | prog.cc | Slide context | - | - |
The template function compare, and various uses of it. | cmp.cc | Slide context | - | - |
Class Point with comparison operator friends. | point.h | Slide context | - | - |
The implementation of class Point. | point.cc | Slide context | - | - |
The template function compare used for Point comparison. | cmp.cc | Slide context | - | - |
The Point class definition - a template - policy parameterized. | point.h | Slide context | - | - |
Member functions in class Point. | point.cc | Slide context | - | - |
Four different policy classes - with type parameterized static methods. | norms.cc | Slide context | - | - |
A sample application. | prog.cc | Slide context | - | - |
The Point class definition - not a template in this version. | point.h | Slide context | - | - |
Member functions in class Point - not essential to this example. | point.cc | Slide context | - | - |
Four different policy classes - with type parameterized static methods. | norms.cc | Slide context | - | - |
A sample application - together with policy parameterized functions. | prog.cc | Slide context | - | - |
The general class template Point followed by the specialized one. | point.h | Slide context | - | - |
The implementation of the template class Point - point.cc - nothing interesting here. | point.cc | Slide context | - | - |
A program that illustrate the instantiation of both the general and specialized template classes. | prog.cc | Slide context | - | - |
Full and partial specializations of a class template A. | prog.cpp | Slide context | - | - |
The factorial function - from Wikipedia. | fak1.cpp | Slide context | - | - |
The power function on integer type arguments. | pow1.cpp | Slide context | - | - |
The power function on integer type arguments - alternative implementation with an enumeration constant. | pow1a.cpp | Slide context | - | - |
A more advanced version of the power function - from Stack Overflow. | pow3.cpp | Slide context | - | - |
A variant of the more advanced version of the power function. | pow4.cpp | Slide context | - | - |
A really simple example of iterators. | it-1.cpp | Slide context | - | - |
The same program using a reverse iterator. | rit-1.cpp | Slide context | - | - |
Output insert-iterators and factory functions that create such iterators. | ins-2.cpp | Slide context | - | - |
Class point with an overloaded operator<. | point.h | Slide context | - | - |
The implementation of class Point and in particular operator<. | point.cc | Slide context | - | - |
Illustration of priority_queue<Point, deque<Point> >. | pri-queue-1.cpp | Slide context | - | - |
Illustration of the map standard container. | map-1.cpp | Slide context | - | - |
Illustration of the use of member types for a list of chars. | mem-types-1.cpp | Slide context | - | - |
Same program - now with use of typename as prefix of 'nested dependent type names'. | mem-types-2.cpp | Slide context | - | - |
Illustration of a couple of ambiguities. | ambiguities-1.cpp | Slide context | - | - |
Ambiguities resolved. | ambiguities-2.cpp | Slide context | - | - |
Illustration of the use of vector<bool>. | veb-bool-1.cpp | Slide context | - | - |
A possible implementation of the for-each algorithm. | for-each-reproduction-1.cpp | Slide context | - | - |
Implementation and sample use of for-each on a list of integers. | for-each-reproduction-2.cpp | Slide context | - | - |
Class Point with overloadings of the application operator. | point.h | Slide context | - | - |
Definition of Point application operators. | point.cc | Slide context | - | - |
Sample uses of the application operators - Funny and artificial. | prog.cc | Slide context | - | - |
Class Point with another overloading of the application operator. | point.h | Slide context | - | - |
Definition of then Point application operator. | point.cc | Slide context | - | - |
Sample uses of the application operators - slightly more realistic. | prog.cc | Slide context | - | - |
Two overloads of the sort function template. | sort-signatures | Slide context | - | - |
Sorting a vector of integers. | prog-1.cpp | Slide context | - | - |
A possible use of for-each to solve this problem. | for-each-1.cpp | Slide context | - | - |
Following the advice: Solve the problem with a more appropriate algorithm. | adjacent-1.cpp | Slide context | - | - |
The type greater and its base class. | greater-and-binary-function.cpp | Slide context | - | - |
An illustration of plus<double>. | plus-1.cpp | Slide context | - | - |
A possible definition of plus. | plus-3.cpp | Slide context | - | - |
Another definition of plus - as a function template. | plus-4.cpp | Slide context | - | - |
Use of member function adaption, with mem_fun_ref. | memb-adapt-1.cpp | Slide context | - | - |
The definition of Point - point.h. | point.h | Slide context | - | - |
Generated: Tuesday March 26, 2013, 13:03:52