Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::memory::NewObject Macro
C++
#define NewObject(type) ((type*)FancyAllocate(sizeof(type),#type DBG_SRC))
Parameters 
Description 
type 
type to allocate for. Passes the name of the type so the allocator can do a registered procedure lookup and invok an initializer for the type. 

Allocate sizeof(type). Will invoke some sort of registered initializer

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!