Topic: Protected inheritance?
Author: tsaiwn@csie.nctu.edu.tw (Wen-Nung Tsai)
Date: 24 Apr 1994 10:25:20 GMT Raw View
Sorry if this has been asked before.
Will the Standard C++ allow protected inheritance? For example:
Class Son: protected Father {
...
}
Thanks.
--
--------------------------------------------
Wen-Nung Tsai
INTERNET: tsaiwn@csunix.csie.nctu.edu.tw Dep. of CSIE
BITNET: tsaiwn@twnctu01.bitnet National Chiao Tung University
HsinChu, Taiwan, R.O.C.
Author: fjh@munta.cs.mu.OZ.AU (Fergus Henderson)
Date: Wed, 27 Apr 1994 00:16:40 GMT Raw View
tsaiwn@csie.nctu.edu.tw (Wen-Nung Tsai) writes:
>Sorry if this has been asked before.
>Will the Standard C++ allow protected inheritance? For example:
> Class Son: protected Father {
> ...
> }
Yes, protected inheritence is allowed.
--
Fergus Henderson - fjh@munta.cs.mu.oz.au