🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

RE: overloading templates

#1011
From: Michael J. Vilot
Date: Wed, 10 Apr 1991 11:43
23 lines
1117 bytes
>Message-ID: <1991Apr4.114557.17897@kodak.kodak.com>
>Sender: cok@Kodak.COM
>
>Is it expected that class template definitions will be able to be 
overloaded
>or have default arguments?

The Annotated Reference Manual, p. 342:  the grammar for 
_template-argument_ includes _argument-declaration_,  which has at 
least one production allowing default arguments.

p. 343:
"A class template name must be unique in a program and may not be 
declared to refer to any other template, class, function, object, 
bvalue, or type in the same scope."

p. 345:
"A template function may be overloaded either by (other) functions of 
its name or by (other) template functions of that same name."

Hope this helps,

Mike
Technical Details
Message-ID: <1275@zinn.MV.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!ditka!zinn!nuucp

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!ditka!zinn!nuucp
From: mjv@objects.mv.com (Michael J. Vilot)
Newsgroups: comp.std.c++
Subject: RE: overloading templates
Message-ID: <1275@zinn.MV.COM>
Date: 10 Apr 91 11:43:29 GMT
Sender: news@ditka.chicago.com (Pulitzer at ditka)
Lines: 23