🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Template names

#1265
From: Peter Teuben
Date: Wed, 16 Dec 1992 21:23
22 lines
959 bytes
If one defines a template as e.g.

  template <class T> class star {
	...
  };

and also define a real class with that same 'template' name, i.e.

  class star {
        ...
  };

the Borland C++ compiler (3.0) complains. Can anybody confirm if this 
is a Borland bug?

	Peter
--
Peter J. Teuben         |  INTERNET  : teuben@astro.umd.edu
Astronomy Department    |  FAX:        (301) 314-9067
University of Maryland  |  MA-BELL   : (301) 405-1540 (office)
College Park, MD 20742  |              (301) 405-1502 (secr.)
Technical Details
Message-ID: <TEUBEN.92Dec16162305@lynx.astro.umd.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!sdd.hp.com!saimiri.primate.wisc.edu!ames!haven.umd.edu!umd5!umd5.umd.edu!teuben

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!sdd.hp.com!saimiri.primate.wisc.edu!ames!haven.umd.edu!umd5!umd5.umd.edu!teuben
From: teuben@lynx.astro.umd.edu (Peter Teuben)
Newsgroups: comp.std.c++
Subject: Template names
Message-ID: <TEUBEN.92Dec16162305@lynx.astro.umd.edu>
Date: 16 Dec 92 21:23:05 GMT
Sender: news@umd5.umd.edu
Distribution: comp
Organization: University of Maryland, Astronomy Department
Lines: 22