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').
Different forms of lambda expressions. | forms0.cc | Slide context | - | - |
The examples from above in context. | forms.cc | Slide context | - | - |
More forms - mutable and explicit return type. | more-forms.cc | Slide context | - | - |
An immediate call of a lambda expression. | lambda1.cc | Slide context | - | - |
Lambda expressions and recursive calls. | lambda2.cc | Slide context | - | - |
A function that returns a function - closure - problems. | lambda3.cc | Slide context | - | - |
Same in Scheme - where this kind of stuff works out of the box. | lambda3.scm | Slide context | - | - |
A function that returns a function - OK. | lambda4.cc | Slide context | - | - |
Examples of static casting in C++. | casts1.cc | Slide context | - | - |
The compilable parts of the program from above. | casts1-compilable.cc | Slide context | - | - |
Example of dynamic casting in C++. | casts2.cc | Slide context | - | - |
The compilable parts of the program from above. | casts2-compilable.cc | Slide context | - | - |
dynamic_cast is a predicate - it tests if a pointer is of the appropriate type. | casts3.cc | Slide context | - | - |
Examples of reinterpret_cast. | casts4.cc | Slide context | - | - |
The compilable parts of the program from above. | casts4-compilable.cc | Slide context | - | - |
Exact matches - a trivial example. | overloading-1.cc | Slide context | - | - |
Simple examle of an ambiguity. | overloading-2.cc | Slide context | - | - |
An ambiguity between 'float to int' and 'float to long int'. | overloading-4.cc | Slide context | - | - |
'Float to double' conversion prefered over 'float to int' and 'float to long int'. | overloading-3.cc | Slide context | - | - |
Point.h. | point.h | Slide context | - | - |
double to Point via Point(double) constructor. | overloading-5.cc | Slide context | - | - |
'double to char' instead of 'double to Point'. | overloading-6.cc | Slide context | - | - |
Now in an ambiguity situation. | overloading-7.cc | Slide context | - | - |
A single best match again - slightly surprising perhaps. | overloading-8.cc | Slide context | - | - |
A trivial example with overloading of a function of two parameters. | overloading-9.cc | Slide context | - | - |
The Knold & Tot example from section 20.3.6 of 3rd version of the C++ book. | knold-tot.cc | Slide context | - | - |
The Knold & Tot example with char*. | knold-tot-c-like-1.cc | Slide context | - | - |
The Knold & Tot example with char[]. | knold-tot-c-like-2.cc | Slide context | - | - |
The Knold & Tot example with strcpy from <cstring>. | knold-tot-c-like-3.cc | Slide context | - | - |
The Knold & Tot example with char* aliasing. | knold-tot-c-like-4.cc | Slide context | - | - |
Illustration of various basic string operations in C++. | string-ex.cc | Slide context | - | - |
Same - with C++ initializations. | string-ex-cpp11.cc | Slide context | - | - |
A simple vector example - similar to first array program. | vector-1.cc | Slide context | - | - |
A variant of the simple vector example - non-executable. | vector-1-modern.cc | Slide context | - | - |
A variant of the simple vector example - executable. | vector-1-modern-compilable.cc | Slide context | - | - |
Another vector example - constructors, insertion, lexicographic comparison. | vector-2-cpp11.cc | Slide context | - | - |
Illustration of free store. | new-del-1.cpp | Slide context | - | - |
Opening, working on, and closing a file - as simple as possible. | fstream-prog.cc | Slide context | - | - |
Illustration of implicit stream conversion to a boolean value - and stream states. | copy-is-os-3.cc | Slide context | - | - |
Output manipulators. | manipulators-1.cc | Slide context | - | - |
A variant of the program above - without showbase. | manipulators-1a.cc | Slide context | - | - |
Illustration of more manipulators. | manipulators-2.cc | Slide context | - | - |
Programming our own manipulator - with two parameters. | own-manipulator.cc | Slide context | - | - |
Illustration of using declarations and using directives - by example. | namespace-1.cc | Slide context | - | - |
Compilable variant of the program from above. | namespace-1-compilable.cc | Slide context | - | - |
Illustrating that a namespace interface is separated from the namespace implementation. | namespace-2.cc | Slide context | - | - |
The header file point.h. | point.h | Slide context | - | - |
The header file tripple.h. | tripple.h | Slide context | - | - |
The header file point.cpp. | point.cpp | Slide context | - | - |
The header file tripple.cpp. | tripple.cpp | Slide context | - | - |
The header file main.cpp. | main.cpp | Slide context | - | - |
Compilation - README. | README | Slide context | - | - |
The header file point.h. | point.h | Slide context | - | - |
The header file tripple.h. | tripple.h | Slide context | - | - |
The header file point.cpp. | point.cpp | Slide context | - | - |
The header file tripple.cpp. | tripple.cpp | Slide context | - | - |
The header file main.cpp. | main.cpp | Slide context | - | - |
Generated: Tuesday August 1, 2017, 13:27:03