octave-patch-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #10366] Same destructor order for octave_v


From: Markus Mützel
Subject: [Octave-patch-tracker] [patch #10366] Same destructor order for octave_value:s in frame in std::vector for libstdc++ and libc++
Date: Tue, 11 Jul 2023 14:06:29 -0400 (EDT)

Follow-up Comment #7, patch #10366 (project octave):

I pushed the following change to use the non-default destructor
unconditionally:
https://hg.savannah.gnu.org/hgweb/octave/rev/829a32a4171c

I also took the opportunity to use C++11 idioms for iterating over all loop
elements.

Is it really necessary to overwrite each element with a new `octave_value`? Or
could we just erase all elements in a given order?



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?10366>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]