Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C++
bstr and delete[]
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="yufufi, post: 2601167"] That information is useful for the number of destructors to call not for the amount of memory to free. Sure you can do n*sizeof(Fred), but last call to operator delete[] doesn't know about 'Fred'. You only pass the address not the Type as well. I'm trying to figure out where does it record this information.. Just for 'Fun' purposes. Thank you very much, yufufi [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
bstr and delete[]
Top