[C++-sig] pointers and pyste
nicodemus at globalite.com.br
Sun Apr 27 21:53:44 CEST 2003
Sameer Agarwal wrote:
> hi Nicodemus,
> sorry about forgetting to mention that render is indeed a virtual
> method for B which inherits from a base class C.
> The funkiness I am referring to has to do with the render method
> accepting a reference to another object D,
> and the new wrapped_render method does not respect the reference and
> instead creates a new copy of D, which causes trouble when I inspect D
> as it was never gets updated by the render.
> I can send you the code, but it is a bit messy and spread across
> multiple files and would make for a messy email.
Can't you post a simplified version of the code here, that reproduces
the problem? That would help a lot. 8)
More information about the Cplusplus-sig