Le 15/5/2005, "Eric Mahurin" <eric_mahurin / yahoo.com> a ñÄrit: >I just put in a RCR that allows for a little more syntax sugar. > The proposal is just to make: > > object.attribute(arguments) = expression > >to be equivalent to: > > object.send(:attribute=,arguments,expression) > >This would just be a nice-to-have RCR in my opinion as you can >use standard methods instead. But, it does seem like Rubyish >syntax. Here is the link if you are interested: > >http://www.rcrchive.net/rcr/show/307 Call me stupid, but I am afraid I do not understand what this code would *do*. Could you clarify, maybe post an example (if possible, with Ruby code)? E -- template<typename duck> void quack(duck& d) { d.quack(); }