Search

2 days ago
Learn »
...unittest {

   assert(foo() == 2);
   assert(foo() == 3);
}

```

which...invocation of the code inside the block, and...
November 22
Learn »
...that's not known inside the body

so...it like that:

```
writeln(foo.getOrZeroth!(1)); // prints...
October 23
Issues »
...auto foo = rebindable2(S(42));
            assert(!typeof(foo...would have to be inside of std.typecons...
September 10
DIP Development »
...example, this enum:

    enum Foo : ubyte { a, b...s amenable to metaprogramming. Inside an AggregateBody, you...
September 09
Issues »
...is the address of an int inside the `Foo.foo` array, then that is fine...
July 30
Announce »
...Tuple unpacking now worked inside functions and foreach...saw the old `module foo`, it would use...
July 15
DIP Ideas »
...handle runtime stack allocated arrays inside the function

```d
int[$] foo(size_t i){
  int...
July 03
DIP Ideas »
...Foo.invalid & Foo.b);
    assert((Foo.e & Foo...return f;
    }
    // for use inside enum type after...
May 16
General »
...foo` needs to be resolved as `*__imp_foo...local (to be resolved inside the same binary...
April 30
DIP Ideas »
...S(42);
   //s.foo(); // error, foo not visible...includes detached unit tests inside templates. The only...
« First   ‹ Prev
1 2
Next ›   Last »