🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: de.comp.lang.c++
Article #1000

Re: Protected inheritance

#1000
From: Dietmar Kuehl
Date: Thu, 14 Dec 1995 13:28
24 lines
1463 bytes
Hi,
Arent Groebner (arent@pegasus.RoBIN.de) wrote:
:> Wer kann dieses Rätsel lösen:
:> 
:> Public    inheritance:  Ist-Beziehung
:> Protected inheritance:  ???
:> Private   inheritance:  Hat-Beziehung

Steve Clamage hat das ungefaehr folgendermassen ausgedrueckt
(uebersetzt nach deutsch und nicht woertlich, da ich das Zitat gerade
nicht zur Hand habe; kam diese Woche in comp.std.c++):

  Protected inheritance ist vorhanden, um konsistent zu bleiben. Ihm
  ist allerdings keine Anwendung von protected inheritance bekannt.
  Somit ist protected inheritance "eine Loesung auf der Suche nach
  einem Problem".

Das deckt sich mit meiner Erfahrung: Ich habe bisher noch keine
sinnvolle Anwendung von protected inheritance gefunden, wobei ich nicht
ausschliessen moechte, dass es keine gibt.
--
dietmar.kuehl@uni-konstanz.de
http://www.informatik.uni-konstanz.de/~kuehl
I am a realistic optimist - that's why I appear to be slightly pessimistic
Technical Details
Message-ID: <30d0266f.0@news.uni-konstanz.de>
Path: arc1-ca.pugleaf.net!news.uni-konstanz.de!uzwil!kuehl
References: <5yi-CASYmIB@pegasus.RoBIN.de> <5zfJZSNImIB@pegasus.RoBIN.de>

Show Full Headers
Complete Article Headers
From: kuehl@uzwil.informatik.uni-konstanz.de (Dietmar Kuehl)
Subject: Re: Protected inheritance
Newsgroups: de.comp.lang.c++
References: <5yi-CASYmIB@pegasus.RoBIN.de> <5zfJZSNImIB@pegasus.RoBIN.de>
Organization: Fakultät für Mathematik und Informatik
Reply-To: dietmar.kuehl@uni-konstanz.de
X-Newsreader: TIN [version 1.2 PL2]
NNTP-Posting-Host: news.uni-konstanz.de
Message-ID: <30d0266f.0@news.uni-konstanz.de>
Date: 14 Dec 95 13:28:15 GMT
Path: arc1-ca.pugleaf.net!news.uni-konstanz.de!uzwil!kuehl