new DIP47: Outlining member functions of aggregates
Jacob Carlborg
doob at me.com
Mon Sep 9 00:00:23 PDT 2013
On 2013-09-09 05:46, Manu wrote:
> Missed the action...
>
> Well it's clear this is not a popular proposal.
> And even to me personally, it's certainly not of critical importance. If
> there was a single thing I'd like to see *DONE* in D, it would be
> temporary/r-value->ref args, without question (really, really annoying
> to work around).
So what's wrong with this approach, that's already working today:
class Foo
{
void foo ();
void foo ()
{
}
}
void main ()
{
auto foo = new Foo;
foo.foo();
}
BTW, this feature was implemented because you asked for it.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list