On 9 September 2013 18:08, deadalnix <deadalnix@gmail.com> wrote:
On Monday, 9 September 2013 at 07:00:23 UTC, Jacob Carlborg wrote:
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.

This is super useful to generate boilerplate from compile time reflection !

Which is what I requested it for, and use it very extensively.