March 19 General » Re: tuple-syntax | |||
|---|---|---|---|
| |||
named tuple: ``` (int:a-) t1 = (a:1, EOT); (int:a-int:b) t2 = (a: 1... | |||
March 19 General » Re: tuple-syntax | |||
|---|---|---|---|
| |||
...distinguish: tuple type syntax EOT in tuple "()" as a keyword. ``` // tuple type and tuple literal... | |||
March 18 General » Re: tuple-syntax | |||
|---|---|---|---|
| |||
...you put that on your one-value tuple and during sema it's clear what... | |||
March 17 General » tuple-syntax | |||
|---|---|---|---|
| |||
...consistent syntax: (,) empty tuple, (x,) one-element tuple, (x,y,) two element tuple ... Just an... | |||
March 17 Learn » Re: Deriving a struct from another one via template: Easy way to propagate UDAs? | |||
|---|---|---|---|
| |||
...result, and remember the built in compiler-tuple - which is what __traits(getAttributes) and the... | |||
March 15 Learn » Re: How to make a struct containing an associative array to deeply copy (for repeated usage in foreach) ? | |||
|---|---|---|---|
| |||
...Variant[Variant]* parent; int i; auto front()=> tuple(parent.keys[i],(*parent)[parent.keys[i... | |||
March 14 Learn » Re: varargs when they're not all the same type? | |||
|---|---|---|---|
| |||
...case indeed `Args` will be a type tuple of `args` types. ```d void myFunc(Args... | |||
March 14 Learn » Re: varargs when they're not all the same type? | |||
|---|---|---|---|
| |||
...is not a known symbol.) Is it basically a tuple of the suitable type? Andy | |||
March 14 Learn » Re: How to make a struct containing an associative array to deeply copy (for repeated usage in foreach) ? | |||
|---|---|---|---|
| |||
Std.tuple is a gaint mess if there's differences in usage syntax they are... | |||
March 14 Learn » Re: How to make a struct containing an associative array to deeply copy (for repeated usage in foreach) ? | |||
|---|---|---|---|
| |||
...definition of tuple is somewhat obscure to me. Is this compatible with the Tuple from... | |||
Copyright © 1999-2021 by the D Language Foundation