From c2643e76bceecbb5b73e47482a95bfd4439f33ec Mon Sep 17 00:00:00 2001 From: Baruch Rothkoff Date: Tue, 3 Jul 2018 11:27:42 +0300 Subject: [PATCH 1/2] Add link Add link to connect this article to reading sequence --- docs/cpp/base-classes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cpp/base-classes.md b/docs/cpp/base-classes.md index 0520ae58e0..6815131bbb 100644 --- a/docs/cpp/base-classes.md +++ b/docs/cpp/base-classes.md @@ -17,5 +17,5 @@ The inheritance process creates a new derived class that is made up of the membe ![Multiple instances of a base class](../cpp/media/vc38xn1.gif "vc38XN1") Multiple Instances of a Single Base Class - 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. + 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](https://docs.microsoft.com/en-us/cpp/cpp/multiple-base-classes#virtual-base-classes) when they are inherited. From c310fd469953c5df79c5f5deae2b20b1ee03464d Mon Sep 17 00:00:00 2001 From: Colin Robertson Date: Thu, 5 Jul 2018 07:55:42 -0700 Subject: [PATCH 2/2] Update base-classes.md Use internal link format. --- docs/cpp/base-classes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cpp/base-classes.md b/docs/cpp/base-classes.md index 6815131bbb..c3c7352dd1 100644 --- a/docs/cpp/base-classes.md +++ b/docs/cpp/base-classes.md @@ -17,5 +17,5 @@ The inheritance process creates a new derived class that is made up of the membe ![Multiple instances of a base class](../cpp/media/vc38xn1.gif "vc38XN1") Multiple Instances of a Single Base Class - 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](https://docs.microsoft.com/en-us/cpp/cpp/multiple-base-classes#virtual-base-classes) when they are inherited. + 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.