the API hates me!!

New Message Reply Date view Thread view Subject view Author view

ross::barna (rbarna++at++umich.edu)
Fri, 16 Jul 1999 10:31:57 -0700 (PDT)


void* pfObject::operator new(size_t, pfFluxMemory *fmem)

^^is supposedly inherited by pfGroup and children, but the compiler says:

 "pfGroup::operator new" matches the argument list
            argument types are: (unsigned int, pfFluxMemory *)
            testObj = new((pfFluxMemory*)scene_FLX->getCurData()) pfGroup;
                      ^

it seems that pfUpdatable overrides the new operator and looses the
ability to new((size_t, pfFluxMemory *fmem)!!!!!! why is this?!?!?!

is this unintentional?
is this a bug?

i was trying to use this as a simple workaround to get pfObject's children
into a pfDataPool.

if this is true that children of pfUpdatable cannot do that new(size_t,
pfFluxMemory *fmem) operator, then it should be said so in the man page
and not lead me on a wild goose chase!!!

someone tell me that i am just wrong or something, so i can do it
right!!!!

-ross

_____________________________
ross::barna
joga.ummu.umich.edu


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Fri Jul 16 1999 - 10:31:45 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.