Re: STL with Performer/Vega

New Message Reply Date view Thread view Subject view Author view

dgray7++at++csc.com
Wed, 7 Apr 1999 14:19:40 +1000


b.t.w. you also need to be aware of the difference between the "placement
operator new" (see /usr/include/CC/new.h) and the "arena operator new"
defined in class pfMemory.

The void* parameter to the placement operator new is interpreted as the
address at which to create the object; the void* parameter to the arena
operator new is interpreted as an arena from which to allocate the memory
for the class. This subtle semantic difference means that you can't use
objects derived from pfMemory in STL containers.

David.


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Wed Apr 07 1999 - 05:24:26 PDT

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