2 days ago Learn » unittest behaviour | |||
|---|---|---|---|
| |||
...unittest {
assert(foo() == 2);
assert(foo() == 3);
}
```
which...invocation of the code inside the block, and... | |||
November 22 Learn » Re: Using a tuple as a function parameter | |||
|---|---|---|---|
| |||
...that's not known inside the body so...it like that: ``` writeln(foo.getOrZeroth!(1)); // prints... | |||
October 23 Issues » [Issue 24829] New: Rebindable2 does not correctly handle types with copy constructors or postblit constructors which aren't assignable | |||
|---|---|---|---|
| |||
...auto foo = rebindable2(S(42));
assert(!typeof(foo...would have to be inside of std.typecons... | |||
September 10 DIP Development » Re: Sum Types - first draft | |||
|---|---|---|---|
| |||
...example, this enum:
enum Foo : ubyte { a, b...s amenable to metaprogramming. Inside an AggregateBody, you... | |||
September 09 Issues » [Issue 24754] cannot take address of a member array in a ref foreach | |||
|---|---|---|---|
| |||
...is the address of an int inside the `Foo.foo` array, then that is fine... | |||
July 30 Announce » D Language Foundation April 2024 Monthly Meeting Summary | |||
|---|---|---|---|
| |||
...Tuple unpacking now worked inside functions and foreach...saw the old `module foo`, it would use... | |||
July 15 DIP Ideas » Re: Returning variable-sized stack data | |||
|---|---|---|---|
| |||
...handle runtime stack allocated arrays inside the function
```d
int[$] foo(size_t i){
int... | |||
July 03 DIP Ideas » Re: Flags enum | |||
|---|---|---|---|
| |||
...Foo.invalid & Foo.b);
assert((Foo.e & Foo...return f;
}
// for use inside enum type after... | |||
May 16 General » Shared libraries, symbol visibilities, Posix vs. Windows | |||
|---|---|---|---|
| |||
...foo` needs to be resolved as `*__imp_foo...local (to be resolved inside the same binary... | |||
April 30 DIP Ideas » Detached unit tests | |||
|---|---|---|---|
| |||
...S(42); //s.foo(); // error, foo not visible...includes detached unit tests inside templates. The only... | |||
Copyright © 1999-2021 by the D Language Foundation