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 » U++ Library support » U++ Core » Smart pointer: Garbage collected by reference counting
Smart pointer: Garbage collected by reference counting [message #17381] Mon, 11 August 2008 10:53 Go to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

I that in U++ is implemented Smart pointer by reference counting (class Ptr : public PtrBase, Moveable< Ptr<T> >).
Is this class resolve for local variables, funtion parameters or other? more detailed here?
Re: Smart pointer: Garbage collected by reference counting [message #17383 is a reply to message #17381] Mon, 11 August 2008 14:24 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
No, GC smart pointers are considered EVIL.

Ptr has different purpose, read docs.

Mirek
Previous Topic: Problems with UPP_HEAP in multi-threaded
Next Topic: Commandline-Args with Core-Console-App
Goto Forum:
  


Current Time: Sat Apr 27 13:48:07 CEST 2024

Total time taken to generate the page: 0.07376 seconds