Re: warning: C++ constructors and destructors
Re: warning: C++ constructors and destructors
- Subject: Re: warning: C++ constructors and destructors
- From: Scott Ribe <email@hidden>
- Date: Sat, 18 Feb 2006 08:00:13 -0700
- Thread-topic: warning: C++ constructors and destructors
> My application works anyway,
One more comment... This often happens for simple C++ classes because merely
filling all their members with 0s results in a consistent, useable object.
But it's just an accident. More complex classes will fail, and a change to
this class' constructor, for instance to allocate a pointer to some memory
or other instance, can cause a failure, and of course the destructor not
being called will often lead to at least memory leaks.
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden