Alias/Ref Tuples ?
Philippe Sigaud
philippe.sigaud at gmail.com
Fri Dec 16 13:19:25 PST 2011
> There is one in dranges:
>
> http://dsource.org/projects/dranges
>
> It is not officially documented, and I don't know how good it actually is,
> but here's what documentation exists:
>
> http://svn.dsource.org/projects/dranges/trunk/dranges/docs/reftuple.html
Hmm, thanks Simen, but no. It was a simple hack I did in 10' one day
to play with pointers without knowing what I was doing. I wouldn't use
it if I were you, it's quite unsafe.
I'm following with *great* interest all the nice changes in DMD that
Kanji is adding. We may have a nice tuple syntax in 2012, who knows?
Gosh, there should be a way to get extensions into DMD, like the
Glasgow Haskell Compiler. Like:
pragma(extension, tupleExpansionSyntax); // thanks, Kanji!
Philippe
More information about the Digitalmars-d-learn
mailing list