In our application we wanted to do memory management by ourselves. Basically we will allocate a chunk of memory that is big enough for our use and overwrite operator new and delete, so that inside our application all the memory allocation is done through the big chunk.
However we encounter a linker error complaining operator new and deleted is all ready defined. One of the symbian headers (e32std.h) overwrites new and delete. I understand why there is a new with a "TLeave" parameter, but I don't understand why the normal new and delete is overwritten --- can anyone tell me if there is any special work done in this new and delete?
In our code we have to include e32std.h for its other functionalities, but then we can not use our own new and delete --- is there a workaround that we can have both?
Thanks for your response.