Search

February 26, 2021
General »
...this type of constructs:

if (auto foo = bar()) { ... }

I was trying to do something similar...
February 25, 2021
General »
well, there are at least 3 approaches to the linear assignment problem
1) the hungarian...
February 23, 2021
LDC »
...p1;
        setp.ne.u32     %p1, %r1, 0;
        bar.red.popc.u32        %r2, 0, %p1;
        }
        ret...
February 21, 2021
Learn »
...iterable.html

import std.traits : isIterable;

void foo(T)(T bar){
    static if (isIterable!T)
    {
...
February 21, 2021
Learn »
...T)(T bar){
	static if (bar.isiterable()) // Need Somethin to check if bar is iterable...
February 20, 2021
General »
On Friday, 19 February 2021 at 20:53:33 UTC, Sameer Pradhan wrote:

I'm...
February 19, 2021
Issues »
...com> ---

That's because `bar` is not `pure`. Without the `bar` call, `foo` becomes `pure...
February 19, 2021
Issues »
...cs)
        bar(c);
}
```

The error persist. The strangest part is that not calling `bar` from...
February 17, 2021
Learn »
...3, 7);
    foo.choose(1);

    Foo bar = foo;
    bar.things[1] = 9;
    writeln(bar.chosen);
}
February 09, 2021
Issues »
...S {
        extern (C)
        pragma(crt_constructor) void bar() { } // has `this`
    }

Probably pragma(crt_destructor) has...
88 89 90 91 92 93 94 95 96 97 98 99
Next ›   Last »