Declaring Ref Variables Inside Function Calls

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Mar 31 21:12:01 PDT 2009


Bill Baxter wrote:
> On Wed, Apr 1, 2009 at 10:53 AM, Andrei Alexandrescu
> <SeeWebsiteForEmail at erdani.org> wrote:
> 
>> I guess I can't bring myself to dislike tuple(1, 2) in D.
>>
> 
> I'd actually be a heck of a lot happier with that than Tuple!(1,2).
> Especially if using it didn't require any explicit import.
> 
> --bb

Tuple!(...) tuple(...) { ... } is already in std.typecons.

Andrei



More information about the Digitalmars-d mailing list