www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Auto tuple declaration

reply kenji hara <k.hara.pg gmail.com> writes:
Original post:
http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D&artnum=141043

I filed an enhancement into bugzilla:
http://d.puremagic.com/issues/show_bug.cgi?id=6365

Experimental patch:
https://github.com/9rnsr/dmd/compare/expandTuples...declarationTuple

Kenji Hara
Jul 23 2011
next sibling parent bearophile <bearophileHUGS lycos.com> writes:
kenji hara:

 Experimental patch:
 https://github.com/9rnsr/dmd/compare/expandTuples...declarationTuple
I'll never accept this: + auto (i, j) = 10; + assert(i == 10); + assert(j == 10); Bye, bearophile
Jul 23 2011
prev sibling parent reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 7/23/11 8:09 AM, kenji hara wrote:
 Original post:
 http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D&artnum=141043

 I filed an enhancement into bugzilla:
 http://d.puremagic.com/issues/show_bug.cgi?id=6365

 Experimental patch:
 https://github.com/9rnsr/dmd/compare/expandTuples...declarationTuple

 Kenji Hara
Wait... we should have accepted green light from Walter... Andrei
Jul 23 2011
parent reply David Nadlinger <see klickverbot.at> writes:
On 7/23/11 4:24 PM, Andrei Alexandrescu wrote:
 On 7/23/11 8:09 AM, kenji hara wrote:
 Original post:
 http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D&artnum=141043


 I filed an enhancement into bugzilla:
 http://d.puremagic.com/issues/show_bug.cgi?id=6365

 Experimental patch:
 https://github.com/9rnsr/dmd/compare/expandTuples...declarationTuple

 Kenji Hara
Wait... we should have accepted green light from Walter... Andrei
On the other hand, Walter is usually (and understandably) reluctant to comment on vague ideas, so I think having a concrete proposal on the table for discussion is great, even if it might end up not being accepted. Thanks, Kenji Hara [1]. David [1] I just realized that this has never occurred to me before: How do you actually address people from Japan (or other eastern cultures) in a semi-informal context like this without being impolite – is using the given name okay?
Jul 23 2011
parent kenji hara <k.hara.pg gmail.com> writes:
2011/7/23 David Nadlinger <see klickverbot.at>:
 [1] I just realized that this has never occurred to me before: How do you
 actually address people from Japan (or other eastern cultures) in a
 semi-informal context like this without being impolite =96 is using the g=
iven
 name okay?
Yes, of course.
Jul 23 2011