![]() |
placement new!!??
can somebody give a clear picture on placement new operator ...and how is it different from the 'regular' new in terms of application and memory pools? some sample codes please...
|
Re: placement new!!??
placement new you write your own new operator
|
Re: placement new!!??
but when n why would I do that... Is the heap allocated any different?
|
Re: placement new!!??
more info
>>Is the heap allocated any different? The heap is normally not used for that because the memory returned by placement new comes from some pre-allocated memory block. |
Re: placement new!!??
oh is it?? I was under a perception that it is yet another kind of DMA. ok thanks bro, I'll look into it n come bac tomorrow.
|
| All times are GMT -5. The time now is 3:53 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC