🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

ANSI compiant explicit template instantation

#2869
From: Brian J. Keefe
Date: Wed, 06 Dec 1995 18:54
21 lines
919 bytes
The online MSVC4 manual says to use syntax like:

template Stack<int,6>;

to force class template instantiation for all operations.
I did not find this in the ARM. Is it ANSI compliant?

Thanks,
-- Brian Keefe
bkeefe@manu.com






---
[ 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: <4a4io5$s0v@cronkite.seas.gwu.edu>
Path: arc1-ca.pugleaf.net!news.mindlink.net!agate!agate!Matt

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.mindlink.net!agate!agate!Matt
From: bkeefe@seas.gwu.edu (Brian J. Keefe)
Newsgroups: comp.std.c++
Subject: ANSI compiant explicit template instantation
Date: 06 Dec 1995 18:54:42 GMT
Organization: George Washington University
Approved: Matt@Austern
Message-ID: <4a4io5$s0v@cronkite.seas.gwu.edu>
NNTP-Posting-Host: austern.hip.berkeley.edu
Summary: template Stack<int,6>; Is this valid?
Keywords: template instantiation