Short list with things to finish for D2
Bill Baxter
wbaxter at gmail.com
Thu Nov 19 13:24:34 PST 2009
On Wed, Nov 18, 2009 at 5:12 PM, Andrei Alexandrescu
<SeeWebsiteForEmail at erdani.org> wrote:
> Kyle wrote:
>>
>> Andrei Alexandrescu Wrote:
>>
>>> 6. There must be many things I forgot to mention, or that cause grief to
>>> many of us. Please add to/comment on this list.
>>
>> Uniform function call syntax.
>>
>
> It's in the book. I'm adding this message as a reminder to add a test case.
> Thanks!
It's in the book as working with all types? Or just built-in array types?
If we're going to have that is there any reason not to have
out-of-class operator overloads at last?
If I can do this:
void doSomething(MyClass x) { ... }
MyClass x;
x.doSomething();
Then why not this:
void opUnary(string op)(MyClass x) { ... }
MyClass x;
!x
A.k.a
x.opUnary!("!")();
--bb
More information about the Digitalmars-d
mailing list