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

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

[Octave-bug-tracker] [bug #43925] isscalar behaves incorrectly for some


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #43925] isscalar behaves incorrectly for some user-defined classes
Date: Fri, 12 Feb 2016 09:15:25 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #14, bug #43925 (project octave):

I also found it odd that  size()  isn't const.

I didn't raise it because it is difficult to change.  There is probably code
out there that overloads the non-const size().  If we make size() const, that
code will fail in complicated ways.  That is even true if we have both a const
and non-const size(), and we use the const one.

However, that is just my opinion.  I haven't seen it discussed on the mailing
list, but it would be great to hear what others think.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43925>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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