February 26, 2021 General » is there a reason declarative style if are allowed, but not while ? | |||
|---|---|---|---|
| |||
...this type of constructs:
if (auto foo = bar()) { ... }
I was trying to do something similar... | |||
February 25, 2021 General » Re: Kuhn-Munkres Algorithm (a.k.a. The Hungarian Algorithm) | |||
|---|---|---|---|
| |||
well, there are at least 3 approaches to the linear assignment problem 1) the hungarian... | |||
February 23, 2021 LDC » Re: ldc/dcompute nvptx intrinsics | |||
|---|---|---|---|
| |||
...p1;
setp.ne.u32 %p1, %r1, 0;
bar.red.popc.u32 %r2, 0, %p1;
}
ret... | |||
February 21, 2021 Learn » Re: How can I check if template variable parameter is iterable before handle it? | |||
|---|---|---|---|
| |||
...iterable.html
import std.traits : isIterable;
void foo(T)(T bar){
static if (isIterable!T)
{
... | |||
February 21, 2021 Learn » How can I check if template variable parameter is iterable before handle it? | |||
|---|---|---|---|
| |||
...T)(T bar){
static if (bar.isiterable()) // Need Somethin to check if bar is iterable... | |||
February 20, 2021 General » Re: Kuhn-Munkres Algorithm (a.k.a. The Hungarian Algorithm) | |||
|---|---|---|---|
| |||
On Friday, 19 February 2021 at 20:53:33 UTC, Sameer Pradhan wrote: I'm... | |||
February 19, 2021 Issues » [Issue 21209] scope attribute inference with does not work well with foreach | |||
|---|---|---|---|
| |||
...com> --- That's because `bar` is not `pure`. Without the `bar` call, `foo` becomes `pure... | |||
February 19, 2021 Issues » [Issue 21209] scope attribute inference with does not work well with foreach | |||
|---|---|---|---|
| |||
...cs)
bar(c);
}
```
The error persist. The strangest part is that not calling `bar` from... | |||
February 17, 2021 Learn » Re: Struct delegate access corruption | |||
|---|---|---|---|
| |||
...3, 7);
foo.choose(1);
Foo bar = foo;
bar.things[1] = 9;
writeln(bar.chosen);
}
| |||
February 09, 2021 Issues » [Issue 21621] New: pragma(crt_constructor) accepts functions with parameters | |||
|---|---|---|---|
| |||
...S {
extern (C)
pragma(crt_constructor) void bar() { } // has `this`
}
Probably pragma(crt_destructor) has... | |||
Copyright © 1999-2021 by the D Language Foundation