From 4051578327817459847
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109fba,109af18a94b8a35c
X-Google-Attributes: gid109fba,public
X-Google-Thread: f78e5,e5cae9ffbf1dd57e
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 1992-10-04 07:12:34 PST
Xref: sparky comp.lang.c++:14503 comp.std.c++:1296
Newsgroups: comp.lang.c++,comp.std.c++
Path: sparky!uunet!sun-barr!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watmath!watcgl!pfbertra
From: pfbertra@watcgl.uwaterloo.ca (Philippe F. Bertrand)
Subject: Re: The concept of templates considered ill designed
Message-ID: <BvM0DE.EA7@watcgl.uwaterloo.ca>
Organization: Computer Graphics Lab [CGL], University of Waterloo
References: <RAYMOND.92Sep29122502@cobra.es.ele.tue.nl> <1992Oct1.140643.9775@cadsun.corp.mot.com> <1992Oct2.153826.12051@ucc.su.OZ.AU>
Date: Sun, 4 Oct 1992 18:22:25 GMT
Lines: 20

In article <1992Oct2.153826.12051@ucc.su.OZ.AU> maxtal@extro.ucc.su.OZ.AU (John MAX Skaller) writes:
>In article <1992Oct1.140643.9775@cadsun.corp.mot.com> shang@corp.mot.com writes:
>>
>>Thank you, Raymond, for raising this thread. I'd like to fork it
>>to comp.std.c++ for standard committee to reconsider whether template should be  
>>accepted as C++ standard.
>
>	How would you modify the template idea to be better?

It would be nice if templates could have some sort of base class derivation
rules.  Ie instead of < class T > have <class Foo T> which restricts T to be
a class publicly derived from Foo.

Also for code hiding, compilers should generate intermediate files for
templated code so that user's of a template class do not need to have access
to the source.

- Philippe F. Bertrand                          pfbertrand@watcgl.uwaterloo.ca 
Computer Graphics Lab, Department of Computer Science,
University of Waterloo, Waterloo, Canada  N2L 3G1


