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

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

[Octave-bug-tracker] [bug #59500] sub-classes of octave_base_value aren'


From: Rik
Subject: [Octave-bug-tracker] [bug #59500] sub-classes of octave_base_value aren't assignable
Date: Mon, 23 Nov 2020 20:32:46 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36

Follow-up Comment #4, bug #59500 (project octave):

I agree that having a copy assignment operator for the octave_base_value class
should resolve the issue.  I don't know yet whether explicit declaration is
the best strategy or whether it should be set to the keyword "default" so that
a default is generated.

On the first point, I believe 'x' is an object within the data container
'lst'.  Changing the value of 'x' will therefore be reflected in the container
passed to myfcn.  But, this is subject to test after the compilation error has
been resolved.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59500>

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




reply via email to

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