forum.alglib.net http://forum.alglib.net/ |
|
ALGLIB real_1d_array destructor http://forum.alglib.net/viewtopic.php?f=2&t=523 |
Page 1 of 1 |
Author: | Drog [ Wed Jan 25, 2012 5:16 am ] |
Post subject: | ALGLIB real_1d_array destructor |
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++) |
Author: | Sergey.Bochkanov [ Wed Jan 25, 2012 5:22 am ] |
Post subject: | Re: ALGLIB real_1d_array destructor |
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. |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |