forum.alglib.net

ALGLIB forum
It is currently Mon Dec 23, 2024 12:37 am

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 10 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