Article View: gnu.g++.bug
Article #836Re: uninitialized static members
From: Aksnes Knut-Havard
Date: Thu, 20 Aug 1992 10:28
Date: Thu, 20 Aug 1992 10:28
15 lines
1254 bytes
1254 bytes
I want to make a template class including some static members, how do I define the static members. I want them to be shared for each instantiation of the class. A possible use of this construction is to generate dummySplayNodes for implementation of SplayMaps. In this situation it will not be difficult to make kludge using void* and a template interface just to get type checking, but if the static member has to be parametrized problems will appear. -- ------------------------------------------------------------------------------- Name: Knut-Hevard Aksnes (ECMA 94) or Knut-Haavard Aksnes (ASCII) Ericsson signature: HI/ETN/U/IT KNA Phone: +47 41 19481 Email: etnkna@etn.ericsson.se (internet) ETN.ETNKNA (memo)
Technical Details
Message-ID:
<ETNKNA.92Aug20122902@hisoy2.etn.ericsson.se>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!hisoy2.etn.ericsson.SE!etnknaReferences:
etnkna@hisoy2.etn.ericsson.SE (Aksnes Knut-Havard)Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!hisoy2.etn.ericsson.SE!etnkna From: etnkna@hisoy2.etn.ericsson.SE (Aksnes Knut-Havard) Subject: Re: uninitialized static members Message-ID: <ETNKNA.92Aug20122902@hisoy2.etn.ericsson.se> Sender: gnulists@ai.mit.edu Organization: Ericsson Telecom AS References: etnkna@hisoy2.etn.ericsson.SE (Aksnes Knut-Havard) Distribution: gnu Date: Thu, 20 Aug 1992 10:28:25 GMT Approved: bug-g++@prep.ai.mit.edu Lines: 17