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').
Constructors and single inheritance. | single-1.cc | Slide context | - | - |
Constructors and multiple inheritance. | multiple-1.cc | Slide context | - | - |
Constructors and multiple inheritance - implicit activation of default constructor in Base. | multiple-2.cc | Slide context | - | - |
Constructors and multiple inheritance - order of construction and destruction. | multiple-4.cc | Slide context | - | - |
Constructors and multiple inheritance - order of construction and destruction. | multiple-5.cc | Slide context | - | - |
Illustration of object slicing. | slice-1.cc | Slide context | - | - |
Does this variant change the game?. | slice-2.cc | Slide context | - | - |
Virtual versus non-virtual functions in an AB class hierarchy. | virtual-1-simplified.cc | Slide context | - | - |
Base class A and derived class B with non-virtual destructors - motivation. | prog2.cc | Slide context | - | - |
Base class A and derived class B with virtual destructors. | prog3.cc | Slide context | - | - |
Base class A and derived class B and C with virtual destructors. | prog4.cc | Slide context | - | - |
A class B inherits two virtual, overloaded functions from A - straightforward - no problems. | prog0.cc | Slide context | - | - |
A variant were vf is a pure virtual function in class A. | pure-virtual.cc | Slide context | - | - |
A sample C# interface. | gameobject.cs | Slide context | - | - |
The C++ counterpart to the C# Interface. | interface-like-class.cc | Slide context | - | - |
A C++ class that 'implements the interface' and uses the resulting class. | interface-like-class-and-use.cc | Slide context | - | - |
Class Outer that contains class Inner - does not compile. | nested-1.cpp | Slide context | - | - |
Class Outer that contains class Inner - friends of each other. | nested-2.cpp | Slide context | - | - |
A variant where class Inner is private in Outer - does not compile. | nested-2a.cpp | Slide context | - | - |
Inner attempts to access to non-static variable in Outer - does not compile. | nested-3.cpp | Slide context | - | - |
Problems solved - This program compiles. | nested-3a.cpp | Slide context | - | - |
Class variant of class Point with several different move functions. | point.h | Slide context | - | - |
Implementation of class Point and the tree move methods - not important for the example. | point.cc | Slide context | - | - |
A program that illustrates pointer to Point member functions. | prog.cc | Slide context | - | - |
Ambiguity - the compiler locates the problem. | amb-1.cc | Slide context | - | - |
Ambiguity resolution in the client of C. | amb-2.cc | Slide context | - | - |
Involving polomorphism - but there is a problem. | amb-3-problems.cc | Slide context | - | - |
Involving polomorphism - problem solved. | amb-3.cc | Slide context | - | - |
Illustration of replication of class A. | non-virtual-1.cc | Slide context | - | - |
Attempting repeated inheritance in C++. | try-repeated-inheritance.cc | Slide context | - | - |
Illustration of shared, virtual, base class A. | virtual-1.cc | Slide context | - | - |
Class D inherits privately from B and publically from C. | base-class-access-1a.cc | Slide context | - | - |
Same setup: Which variables can access which objects. | base-class-access-2.cc | Slide context | - | - |
Generated: Tuesday March 26, 2013, 13:03:42