forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 7:13 pm

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: ALGLIB real_1d_array destructor
PostPosted: Wed Jan 25, 2012 5:16 am 
Offline

Joined: Wed Jan 25, 2012 5:12 am
Posts: 1
I need to use the real_1d_array in the work I'm doing but I notice that the destructor function for it is empty. Does this mean I will get memory leak problems when it goes out of scope, or am I missing something (sorry if I am, I'm quite new to C++)


Top
 Profile  
 
 Post subject: Re: ALGLIB real_1d_array destructor
PostPosted: Wed Jan 25, 2012 5:22 am 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
No problems with just a question :)

real_1d_array inherits from ae_vector_wrapper, which does all cleanup in its own destructor. So there is no memory leaks in the array management code.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 32 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group