From: ts Date: 2001-10-14T02:05:15+09:00 Subject: [ruby-talk:22489] Re: Exporting operators from C++ >>>>> "B" == =?ISO-8859-1?Q?Bernhard Gl=FCck?= writes: B> But my question is which operators can be defined this way ? And what The op defined by ruby are (I hope that I've not forgotten one) |, ^, &, <=>, ==, ===, =~, >, >=, <, <=, <<, >>, +, -, *, /, %, **, ~, -@ (unary minus), +@ (unary plus), [], []=, ` B> are their prototypes ( e.g does *= exist ? Does it require to return a B> value or not ? ) No, 'a += b' is transformed in 'a = a + b' Guy Decoux