From 1616f6f5a8841a506aa1a86eb2c89242f9e28ac8 Mon Sep 17 00:00:00 2001
From: Dave Abrahams
Date: Thu, 9 Oct 2003 14:16:15 +0000
Subject: [PATCH] Update credits for R. Samuel Klatchko
[SVN r20325]
---
base_from_member.html | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/base_from_member.html b/base_from_member.html
index 823bcb1..f9b3e30 100644
--- a/base_from_member.html
+++ b/base_from_member.html
@@ -64,11 +64,12 @@ public:
This is undefined because C++'s initialization order mandates that
-the base class is initialized before the member it uses. Ron Klatchko
-developed a way around this by using the initialization order in his
-favor. Base classes are intialized in order of declaration, so moving
-the desired member to another base class, that is initialized before the
-desired base class, can ensure proper initialization.
+the base class is initialized before the member it uses. R. Samuel Klatchko developed a way
+around this by using the initialization order in his favor. Base
+classes are intialized in order of declaration, so moving the desired
+member to another base class, that is initialized before the desired
+base class, can ensure proper initialization.
A custom base class can be made for this idiom:
@@ -325,7 +326,9 @@ with the exact pointer type used in switcher
's constructor.
Ed Brey
Suggested some interface changes.
- Ron Klatchko (ron@crl.com)
+ R. Samuel Klatchko (rsk@moocat.org, rsk@brightmail.com)
Invented the idiom of how to use a class member for initializing
a base class.