🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Template member function specializations

#2002
From: Brian Glendenning
Date: Wed, 20 Sep 1995 21:18
19 lines
1259 bytes
Sorry for asking a question that is answered in the DWP - unfortunately a couple
of us are disagreeing about what the DWP says!

We know that a template global function can be specialized. We know that a whole
template class can be specialized. We also know that these specializations must
be declared before they are used.

Can an individual member function of a template class be specialized. If so, how
is it declared? Thanks.

Brian
--
        Brian Glendenning - National Radio Astronomy Observatory
bglenden@nrao.edu              Socorro NM               (505) 835-7347

[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Technical Details
Message-ID: <199509202116.PAA02269@colobus.aoc.nrao.edu>
Path: arc1-ca.pugleaf.net!engnews2.Eng.Sun.COM!taumet!clamage

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!engnews2.Eng.Sun.COM!taumet!clamage
From: Brian Glendenning <bglenden@aoc.nrao.edu>
Newsgroups: comp.std.c++
Subject: Template member function specializations
Date: 20 Sep 1995 21:18:59 GMT
Organization: ?
Approved: clamage@eng.sun.com (comp.std.c++)
Message-ID: <199509202116.PAA02269@colobus.aoc.nrao.edu>
NNTP-Posting-Host: taumet.eng.sun.com
Content-Type: text
Content-Length: 577
X-Lines: 15
Originator: clamage@taumet