Search

February 28, 2023
Issues »
...can first extract the types from the AliasSeq and than create the needed tuple type.

--
February 27, 2023
Issues »
https://issues.dlang.org/show_bug.cgi?id=23704

Iain Buclaw <ibuclaw@gdcproject.org> changed...
February 19, 2023
Learn »
Awesome, Thank both of you!

```
    enum a = ["A", "B"];
    writeln(a);
    writeln(aliasSeqOf!a);
    writeln...
February 19, 2023
Learn »
In situations like this it's often better to define your dats as an AliasSeq...
February 19, 2023
Learn »
https://dlang.org/phobos/std_meta.html#aliasSeqOf
February 19, 2023
Learn »
...array to a tuple or to an AliasSeq?

```
mixin(customSyntaxPrefixes.format!`tuple(%(%s,%))`)
```

I'd...
February 14, 2023
Learn »
...main()
{
  size_t i;
  str.map!(n => tuple(n, i++))
     .assocArray.keys
     .sort.writeln; // DLPaegimnoru...
February 12, 2023
Issues »
...a function accessed through a member
                    alias tuple
           Product: D
           Version: D2
          Hardware: All
                OS...
February 11, 2023
General »
...instead. Each function might even be a tuple of unittest name and function pointer. Then...
February 09, 2023
Learn »
...val], key:[val]]`

map can return a tuple and std.array.assocArray can make an...
27 28 29 30 31 32 33 34 35 36 37 38
Next ›   Last »