🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #742

Re: The concept of templates considered ill designed

#742
From: Thomas M. Breuel
Date: Sat, 03 Oct 1992 09:07
13 lines
1225 bytes
In article <1992Oct2.144959.18480@cadsun.corp.mot.com> shang@corp.mot.com (David (Lujun) Shang) writes:

   In article <1992Oct1.140643.9775@cadsun.corp.mot.com> shang@corp.mot.com I  
   wrote:
   Template is not a self-enclosed type-safe language feature, i.e. it cannot be  
   compiled separately to ensure type-error free. All type errors about the 
   class parameters are checked when the template is used.

Yes. However, the reason for this is not intrinsic in the template
concept, but in the way templates were "integrated" with overloading
in C++.

					Thomas.
Technical Details
Message-ID: <TMB.92Oct3050715@arolla.idiap.ch>
Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!ai-lab!life.ai.mit.edu!tmb
References: <1992Oct1.140643.9775@cadsun.corp.mot.com> <1992Oct2.144959.18480@cadsun.corp.mot.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!ai-lab!life.ai.mit.edu!tmb
From: tmb@arolla.idiap.ch (Thomas M. Breuel)
Newsgroups: comp.std.c++,comp.lang.c++
Subject: Re: The concept of templates considered ill designed
Message-ID: <TMB.92Oct3050715@arolla.idiap.ch>
Date: 3 Oct 92 09:07:15 GMT
References: <1992Oct1.140643.9775@cadsun.corp.mot.com>
 <1992Oct2.144959.18480@cadsun.corp.mot.com>
Sender: news@ai.mit.edu
Reply-To: tmb@idiap.ch
Followup-To: comp.std.c++
Organization: IDIAP (Institut Dalle Molle d'Intelligence Artificielle
 Perceptive)
Lines: 13
In-reply-to: shang@corp.mot.com's message of 2 Oct 92 14:49:59 GMT