Article View: uw.dcs.general
Article #6Re: Deriving C++ Templates
From: John MAX Skaller
Date: Wed, 16 Dec 1992 14:23
Date: Wed, 16 Dec 1992 14:23
16 lines
1243 bytes
1243 bytes
In article <1992Dec15.160544.26065@dcs.warwick.ac.uk> jas@dcs.warwick.ac.uk (Jason Morris) writes:
>
> However, I am now having problems in deriving Vector. Is it actually
>possible to use a template as a base class? Or are parameterised types and
>inheritance mechanisms mutually exlusive?
>
It is definitely the intent this be allowed, BC allows it.
So do most of the more recent versions of other compilers. Some older
compilers may have had problems.
--
;----------------------------------------------------------------------
JOHN (MAX) SKALLER, maxtal@extro.ucc.su.oz.au
Maxtal Pty Ltd, 6 MacKay St ASHFIELD, NSW 2131, AUSTRALIA
;--------------- SCIENTIFIC AND ENGINEERING SOFTWARE ------------------
Technical Details
Message-ID:
<1992Dec16.142337.3666@ucc.su.OZ.AU>Path:
arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!metro!extro.ucc.su.OZ.AU!maxtalReferences:
<1992Dec15.160544.26065@dcs.warwick.ac.uk>Show Full Headers
Complete Article Headers
Newsgroups: uw.dcs.general,gnu.g++.help,comp.lang.c++ Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!metro!extro.ucc.su.OZ.AU!maxtal From: maxtal@extro.ucc.su.OZ.AU (John MAX Skaller) Subject: Re: Deriving C++ Templates Message-ID: <1992Dec16.142337.3666@ucc.su.OZ.AU> Sender: news@ucc.su.OZ.AU Nntp-Posting-Host: extro.ucc.su.oz.au Organization: MAXTAL P/L C/- University Computing Centre, Sydney References: <1992Dec15.160544.26065@dcs.warwick.ac.uk> Date: Wed, 16 Dec 1992 14:23:37 GMT Lines: 16