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

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

[Octave-bug-tracker] [bug #53911] default implementation of 'eq' for han


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #53911] default implementation of 'eq' for handle classes
Date: Tue, 15 May 2018 13:18:44 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Update of bug #53911 (project octave):

                Category:                    None => Interpreter            
                  Status:                    None => Need Info              
                 Summary: Comparing handle classes using == fails  => default
implementation of 'eq' for handle classes

    _______________________________________________________

Follow-up Comment #1:

Well you can add your own 'eq' overload method to your class to do a value
comparison between two instances.

So Matlab has a default 'eq' operation for classdef instances? I'm guessing
also a 'ne' operation? What about value classes? What are the default equality
semantics for handle or value classes? Are these default operations documented
anywhere?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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