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

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

[Octave-bug-tracker] [bug #51709] Creating function handle to static met


From: Piotr Held
Subject: [Octave-bug-tracker] [bug #51709] Creating function handle to static methods
Date: Wed, 9 Aug 2017 16:41:10 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?51709>

                 Summary: Creating function handle to static methods
                 Project: GNU Octave
            Submitted by: jsoh425
            Submitted on: Wed 09 Aug 2017 08:41:09 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: Piotr Held
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

Let's have a class:


classdef myclass
  methods (Static)
    function foo()
      1;
    end
  end
end


Matlab allows for the creation of a handle to foo in two ways:


fcn_handle = @myclass.foo;
obj = myclass;
fcn_handle = @obj.foo;



  




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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