Search

January 08, 2024
General »
...std.typecons.Tuple`?

```d
import std;

void main()
{
    int i = 4;
    auto tup2 = tuple(i...
January 08, 2024
General »
...foreach(i, Arg; Args) {
		static if (is(Arg : typeof(tuple))) {
			// is tuple for arg i
		}
	}
}
```
January 07, 2024
General »
...them in the form of:

```
template tuple(A ...) { alias tuple = A; }
```

but the compiler wants...
January 07, 2024
General »
...But, if the tuple is created with:

```
template tuple(A ...) { alias tuple = A; }
```

then a...
January 07, 2024
General »
...by using .stringof, can determine if a tuple element is a string literal or a...
January 07, 2024
Issues »
...when accessing a mixin via an alias tuple
           Product: D
           Version: D2
          Hardware: All
                OS...
January 07, 2024
General »
...of having a template take the generated tuple and modifying it as it sees fit...
January 06, 2024
General »
...I'd showcase what the string interpolation tuple DIP can do, which currently compiles with...
January 05, 2024
General »
...tuple, as the name will be assigned only to the first element of the tuple...
January 05, 2024
General »
...been seen before?

## Tuple parameters

You currently can't assign a tuple parameter by name...
14 15 16 17 18 19 20 21 22 23 24 25
Next ›   Last »