Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Coffee corner » Thoughts about resource management
Re: Thoughts about resource management [message #30847 is a reply to message #30838] Tue, 25 January 2011 00:39 Go to previous message
mirek is currently offline  mirek
Messages: 14265
Registered: November 2005
Ultimate Member
Mindtraveller wrote on Mon, 24 January 2011 12:14

Thank you very much for this link. It mostly discusses the choice between refcount and pick_ approaches, which is a very interesting discussion itself. But my question was slightly different.
I was wondering if U++ approach is good for resources with dynamic lifetime.


Well, frankly, I do not know....

Anyway, in theory, using heap is equivalent to using some global scope container. So perhaps in this sense, you could say 'it belongs to global scope' Smile

Now that is hardly useful proof. Anyway, I believe you can always benefit to move this 'global scope container' down to some more fitting scope....
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Antigrain author on text rasterisation
Next Topic: The power of Waf
Goto Forum:
  


Current Time: Sun Jul 13 02:51:48 CEST 2025

Total time taken to generate the page: 0.04379 seconds