Article View: comp.std.c++
Article #927Re: type/member tags (was Re: asking an object for its type)
From: Chip Salzenberg
Date: Sat, 09 Mar 1991 01:54
Date: Sat, 09 Mar 1991 01:54
11 lines
1016 bytes
1016 bytes
According to beard@ux5 (Patrick C Beard):
>The information about what class an object is can be easily obtained by using
>the pointer to the object's virtual function table as the class id, which
>will always be unique for every class.
Current implementations of C++ may have more than one copy of the
virtual function table for any given class. Sorry.
--
Chip Salzenberg at Teltronics/TCT <chip@tct.uucp>, <uunet!pdn!tct!chip>
"Most of my code is written by myself. That is why so little gets done."
-- Herman "HLLs will never fly" Rubin
Technical Details
Message-ID:
<27D84065.E87@tct.uucp>Path:
arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!pdn!tscs!tct!chipReferences:
<DSOUZA.91Feb24173454@optima.cad.mcc.com> <70877@microsoft.UUCP> <10721@dog.ee.lbl.gov>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!pdn!tscs!tct!chip From: chip@tct.uucp (Chip Salzenberg) Newsgroups: comp.std.c++ Subject: Re: type/member tags (was Re: asking an object for its type) Message-ID: <27D84065.E87@tct.uucp> Date: 9 Mar 91 01:54:44 GMT References: <DSOUZA.91Feb24173454@optima.cad.mcc.com> <70877@microsoft.UUCP> <10721@dog.ee.lbl.gov> Organization: Teltronics/TCT, Sarasota, FL Lines: 11