This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC/Patch v4] Call overloaded operators to perform valid Python operations on struct/class values.


> Date: Sun, 2 Feb 2014 12:06:31 -0800
> From: Siva Chandra <sivachandra@google.com>
> Cc: gdb-patches <gdb-patches@sourceware.org>, Tom Tromey <tromey@redhat.com>
> 
> +operator.  In general, overloaded operators are invoked for the
> +following operators: @code{+} (binary addition), @code{-} (binary
             ^^^^^^^^^
I'd suggest "operations" here.

> +subtraction), @code{*} (multiplication), @code{/}, @code{%}, @code{<<},
> +@code{>>}, @code{|}, @code{&}, @code{^}.

OK with those changes.

Thanks.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]