A Discussion of Tuple Syntax
Zach the Mystic
reachzach at gggggmail.com
Wed Aug 21 00:54:27 PDT 2013
On Monday, 19 August 2013 at 20:46:02 UTC, Andrei Alexandrescu
wrote:
>> void main() {
>> auto t1 = #(5, "hello", 1.5);
>> auto (?, ?, x) = t1;
>> auto (?, gr, ?) = t1;
>> }
>>
>> Bye,
>> bearophile
>
> It's stuff like this that's just useless and gives a bad
> direction to the whole discussion. There's hardly anything
> wrong with auto x = t1[2] or auto gr = t1[1], but once the
> bikeshed is up for painting, the rainbow won't suffice.
>
>
> Andrei
I agree. The negative space *around* the bikeshed should be
used...
auto (void, void, x) = t1;
(Just an idea I had. Don't know whether it's technically sound.
It just seemed so funny to me that the idea popped into my head
as soon as you said "rainbow". Not trying to waste time. )
More information about the Digitalmars-d
mailing list