🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Problem with template overloading

#3385
From: brian (b.c.) white
Date: Tue, 20 Feb 1996 18:43
20 lines
1531 bytes
>>Is it allowed to overload template names based on their parameters
>>in the same way that functions can be overloaded?
>
>No, that is not allowed. You cannot have more than one template
>with the same name in the same scope.

Is there a specific reason for this?

                                        Brian
                                 ( bcwhite@bnr.ca )

-------------------------------------------------------------------------------
    In theory, theory and practice are the same.  In practice, they're not.
---
[ To submit articles: Try just posting with your newsreader.  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: <4g7ndf$dhs@bcarh8ab.bnr.ca>
Path: arc1-ca.pugleaf.net!chronicle.mti.sgi.com!austern

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!chronicle.mti.sgi.com!austern
From: "brian (b.c.) white" <bcwhite@bnr.ca>
Newsgroups: comp.std.c++
Subject: Re: Problem with template overloading
Date: 20 Feb 1996 10:43:16 PST
Organization: Bell-Northern Research Ltd.
Approved: austern@isolde.mti.sgi.com
Message-ID: <4g7ndf$dhs@bcarh8ab.bnr.ca>
NNTP-Posting-Host: isolde.mti.sgi.com
X-Original-Date:  Sun, 18 Feb 1996 17:25:03 +0000 
Content-Identifier:  Re: Problem w... 
X-Auth: PGPMoose V1.1 PGP comp.std.c++
 iQBVAwUBMSoWU0y4NqrwXLNJAQEGUQH+N2k59wuRLF4NEOQD5hwRUp1EYMhcvJV8
 Ogd2lalyrfFnluiSstUkCl5uaE6+bveeqe4W5H7+6BL5AsZEqKdcxg==
 =mNhY
Originator: austern@isolde.mti.sgi.com