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 » calling delete on pointer
Re: calling delete on pointer [message #52335 is a reply to message #52334] Tue, 10 September 2019 08:39 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Pte/Ptr are supposed to solve different problem:

Ptr<Foo> ptr;
{
   Foo x;
   ptr = &x;
}
ASSERT(!ptr);


In other words, the mechanism is supposed to make Ptr NULL when the object that is pointed to by it is destroyed.

Mirek
 
Read Message
Read Message
Read Message
Previous Topic: SHA1 Doesn't work any more for data over 65536 bytes
Next Topic: SetVppLogNoDeleteOnStartup() declaration is missing
Goto Forum:
  


Current Time: Mon May 06 04:00:51 CEST 2024

Total time taken to generate the page: 0.02680 seconds