On 2/21/10 14:28, Philippe Sigaud wrote:
On Fri, Feb 19, 2010 at 13:51, Jacob Carlborg <[email protected] <mailto:[email protected]>> wrote: [Universal function call syntax] It's not implemented yet. But do you know of it's on the plate for D2? Lars says it's in TDPL, so it must be on the todo list, hopefully.
Andrei said it would be in D2 but then he also said it's already implemented, which it isn't. It's also easy to implement (at least for variables).
Well, I guess they all have too much to do right now, and as some recent new features are quite cool, I'm happy that way. Anyway, that would be a useful feature, particularly for generic code: you know some types have a method that you want to use, and you can add it to other types also with this mechanism. Another thing I'd be very happy to have is opImplicitCast.... Philippe
