Skip to content

Commit 056c3aa

Browse files
baruchiroColin Robertson
authored andcommitted
* Add link Add link to connect this article to reading sequence * Update base-classes.md Use internal link format.
1 parent 0439e22 commit 056c3aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/cpp/base-classes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ The inheritance process creates a new derived class that is made up of the membe
1717
![Multiple instances of a base class](../cpp/media/vc38xn1.gif "vc38XN1")
1818
Multiple Instances of a Single Base Class
1919

20-
In the figure, pictorial representations of the components of `CollectibleString` and `CollectibleSortable` are shown. However, the base class, `Collectible`, is in `CollectibleSortableString` through the `CollectibleString` path and the `CollectibleSortable` path. To eliminate this redundancy, such classes can be declared as virtual base classes when they are inherited.
20+
In the figure, pictorial representations of the components of `CollectibleString` and `CollectibleSortable` are shown. However, the base class, `Collectible`, is in `CollectibleSortableString` through the `CollectibleString` path and the `CollectibleSortable` path. To eliminate this redundancy, such classes can be declared as [virtual base classes](multiple-base-classes#virtual-base-classes.md) when they are inherited.
2121

0 commit comments

Comments
 (0)