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: anonymous
Subject: [Octave-bug-tracker] [bug #59500] sub-classes of octave_base_value aren't assignable
Date: Mon, 23 Nov 2020 13:26:34 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:68.9) Gecko/20100101 Goanna/4.6 Firefox/68.9 Mypal/28.14.2

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

Thanks for reply!
The point is that the purpose is passing the iteration variable `i` via `lst`
to the function. Assigning to the `x` in the loop doesn't solve the problem
because `x` isn't a member of `lst`.

I think defining a copy assignment operator for
libinterp/octave-value/octave_base_value may solve the problem:


octave_base_value& operator = (const octave_base_value&) { return *this; }


    _______________________________________________________

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]