Search

September 09, 2022
Learn »
...of `static assert`:
```d
auto check()
{
    return tuple(false, // check result  ('false' is just for...
September 08, 2022
Issues »
...the code yields:

onlineapp.d(2): Error: tuple index 1 exceeds 1
onlineapp.d(7...
September 07, 2022
Learn »
...nothrow pure {
        // Thank you, Tuple! :)
        alias Data = Tuple!Args;

        // Place the tuple of arguments
        //
        // BUG...
September 06, 2022
General »
...traits;
import core.sys.windows.windows;

struct Tuple(_FuncType, string _Name) {
    alias FuncType = _FuncType;
    enum...
September 05, 2022
General »
...mixin NoGcError!("Foo",
                 SumType!(Tuple!(Foo, int, int),
                          Tuple!(string),
                          Tuple!()));

Although "Foo" could be...
September 01, 2022
Learn »
...val = "priceDolar"
  }

  auto makeTestTuple(int i)
  {
    return tuple!(key, val)((i * 2).to!string,
                   (double...
August 31, 2022
Learn »
...that matches the members of a tuple. Given a tuple with member names "key", "value...
August 31, 2022
Learn »
...typecons.Tuple, you can use `[tup.expand]` to make an array from a tuple.
If...
August 29, 2022
General »
...main() {
    import std.typecons : tuple;
    import std.meta : AliasSeq;
    prop = tuple(1, 2.0, "foo...
August 25, 2022
Issues »
...d) {
    return tuple(d, c, b, a);
}

void main() {
    auto r = foo(tuple(3,4...
36 37 38 39 40 41 42 43 44 45 46 47
Next ›   Last »