This is super useful to generate boilerplate from compile time reflection !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.