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

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

[Octave-bug-tracker] [bug #51605] allow class overload of unary operator


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #51605] allow class overload of unary operators ++ and -- via function
Date: Wed, 23 Aug 2017 03:18:19 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #9, bug #51605 (project octave):

The -- and ++ operators are implemented by the op_decr and op_incr
non_const_unary_op types. Search for non_const_unary_op in
libinterp/parse-tree to see where it is called, and search for NCUNOP in
libinterp/operators to see where corresponding operators are installed for
each numeric type.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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