Lance R. Marrou (marrou++at++vsl.ist.ucf.edu)
Fri, 24 Feb 1995 15:47:21 -0500 (EST)
po = ::new(sizeof(printobj),pfGetSharedArena()) printobj();
po = new(sizeof(printobj),pfGetSharedArena()) printobj();
po = new(pfGetSharedArena()) printobj();
These were just some simple test cases, I have much more complicated classes
in mind. What seems to work is this:
po = (printobj *)pfMalloc(sizeof(printobj),pfGetSharedArena());
But then I need a fake constructor to call after allocation.
______________________________________________________________________________
/\ ______ /\____ ______ ______ E-mail: marrou++at++vsl.ist.ucf.edu
Visual / / / _ / / __ // ____// ____/ VSL: (407)658-5073
Systems / /__ / /_/ / / / / // /___ / __/_ R. Marrou Fax: (407)658-5059
Lab /____//____/\\/_/ /_//_____//_____/ http://www.vsl.ist.ucf.edu/~marrou
"Reap the whirlwind." "We don't need no thought control."
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:00 PDT