|
-
April 5th, 2006, 05:53 AM
#1
overwriting new and delete
Hi all,
I am overriding new and delete for some c++ classes.
I am wondering if its also ok to override new and delete in the same way for structures.
i.e. when declaring a struct, redefine the operator new and delete for that struct
or
Is it only possible to override new and delete that structures will end up using by overriding global new and delete.
Cheers,
Seany.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|