View unanswered posts | View active topics
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.
|
Page 1 of 1
|
[ 2 posts ] |
|
Author |
Message |
Drog
|
Post subject: ALGLIB real_1d_array destructor Posted: Wed Jan 25, 2012 5:16 am |
|
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 |
|
|
Sergey.Bochkanov
|
Post subject: Re: ALGLIB real_1d_array destructor Posted: Wed Jan 25, 2012 5:22 am |
|
|
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 |
|
|
|
Page 1 of 1
|
[ 2 posts ] |
|
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
|