🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Template argument deduction

#4116
From: David Vandevoorde
Date: Fri, 19 Apr 1996 14:43
26 lines
1937 bytes
>>>>> "BF" == Brian Michael Freyburger <freyburg@wavelet.stanford.edu> writes:
I (Daveed) wrote:
>>  It's a non-issue since default template arguments cannot be
>> specified for function templates.

BF> Where in the working papers does it say this?  They appear to me
BF> to be introduced in 14.8 [temp.arg], which as far as I can tell
BF> applies to both functions and classes.  I see nothing in 14.10
BF> [temp.fct] which disallows them--what did I miss?

Good point ;^P It's not in the April '95 CD, apparently :^( However,
it's in the Templates chapter as revised for the Santa Cruz meeting.
Sorry for the confusion, I didn't realize this was this recent.

BF> Why are they disallowed?  Are there any technical difficults?

The problem you mentioned maybe ;-)

	Daveed


[ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
[ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
[ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]
Technical Details
Message-ID: <xsok9zdkmuj.fsf@avs.cs.rpi.edu>
Path: arc1-ca.pugleaf.net!engnews1.Eng.Sun.COM!taumet!clamage
References: <FREYBURG.96Apr15144107@glitch.stanford.edu> <xsoratnorr5.fsf@avs.cs.rpi.edu> <FREYBURG.96Apr18141053@wavelet.stanford.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!engnews1.Eng.Sun.COM!taumet!clamage
From: vandevod@cs.rpi.edu (David Vandevoorde)
Newsgroups: comp.std.c++
Subject: Re: Template argument deduction
Date: 19 Apr 1996 14:43:42 GMT
Organization: RPI Computer Science
Sender: vandevod@avs.cs.rpi.edu
Approved: clamage@eng.sun.com (comp.std.c++)
Message-ID: <xsok9zdkmuj.fsf@avs.cs.rpi.edu>
References: <FREYBURG.96Apr15144107@glitch.stanford.edu>
 <xsoratnorr5.fsf@avs.cs.rpi.edu>
 <FREYBURG.96Apr18141053@wavelet.stanford.edu>
NNTP-Posting-Host: taumet.eng.sun.com
X-Nntp-Posting-Host: avs.cs.rpi.edu
In-Reply-To: freyburg@wavelet.stanford.edu's message of 18 Apr 1996 21:14:46
 GMT
X-Newsreader: Gnus v5.1
Content-Length: 773
X-Lines: 19
Originator: clamage@taumet