Irrlicht3d.org
::
Blog
|
About Me
|
Twitter
Add comment for
To drop or not to drop?
Posted by:
Enter the missing letter in: "Intern?tional"
Text:
[quote][b]Steve[/b] wrote: Why not make the reference counting automatic? Having a manual drop() sounds just like Release() in COM & D3D, and their excuse for making it manual was that it's compatible with C as well as C++. If you're aiming at C++ it's much better to just make it all automatic - ie when the reference goes out of scope, it's released. Then you get no double-release or failure-to-release issues or confusion over when / if you have to release. boost::shared_ptr is a good example.[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons