🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41518

virtual tables

#41518
From: Integration Le Pecq
Date: Fri, 15 Mar 1996 00:00
23 lines
1190 bytes
The problem is : 
 I have an object in the shared memory, from which I know its address
and its type. I would like to update the virtual table of this object
and all the virtual tables of the member of this object (code changed
by example but obviousely not its size).

	void *  addr;
	((Object*)addr)->Object::Object(special)

 I tried to call explicitely a special constructor on this object. It
works fine, the virtual table is updated. But if the object has a
array of object, the default constructor of this object is called,
this is not what I want.
 I can indeed encaspulate the arrray in a special template.

Is there any other method ?

 Please send me a copy of the response to delarue@dpx1.frlv.bull.fr
since my news readers doesn't works well.

 thank's for help.

-- christophe DELARUE
Technical Details
Message-ID: <NEXT.96Mar15132837@dpx1.frlv.bull.fr>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,bce050cfbdf030de,start
X-Google-Attributes: gid11318c,public
From: delarue@dpx1.frlv.bull.fr (Integration Le Pecq)
Subject: virtual tables
Date: 1996/03/15
Message-ID: <NEXT.96Mar15132837@dpx1.frlv.bull.fr>
X-Deja-AN: 142798248
distribution: world
organization: SITA
newsgroups: gnu.gcc.help