🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.lib.bug
Article #260

Minor ugliness in genclass Map && VHMap

#260
From: Michial Gunter
Date: Sun, 16 Aug 1992 09:39
11 lines
782 bytes
Why is the COUNT member of class Map declared "int".  It seems it
should be declared "unsigned int".  The SIZE member of the derived
VHMap class is declared "unsigned int".

They should be the same.  The reasonable choice seems to be "unsigned
int" (unless one of the other derived classes uses a negative value
for something.)



			mike
Technical Details
Message-ID: <GUNTER.92Aug16013957@mayhem.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!mayhem.berkeley.edu!gunter

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.lib.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!mayhem.berkeley.edu!gunter
From: gunter@mayhem.berkeley.edu (Michial Gunter)
Subject: Minor ugliness in genclass Map && VHMap
Message-ID: <GUNTER.92Aug16013957@mayhem.Berkeley.EDU>
Sender: gnulists@ai.mit.edu
Organization: /users/gunter/.organization
Distribution: gnu
Date: Sun, 16 Aug 1992 09:39:56 GMT
Approved: bug-lib-g++@prep.ai.mit.edu
Lines: 12