U++ framework
Do not panic. Ask here before giving up.

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: 14291
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: Tue May 26 13:28:41 GMT+2 2026

Total time taken to generate the page: 0.00603 seconds