Search

February 03, 2021
Learn »
...lifetime;

class Bar{
}

struct Foo{
    Bar bar;

    this(Bar bar){
        this.bar = bar;
    }
}


void main...
February 03, 2021
General »
...we don't care" that "we are carefully studying how hight to put the bar"



February 02, 2021
GDC »
...false);
    alias bar = (int s) => s;
    return bar(3);
}

int foo2() {
    alias bar = (int s...
February 01, 2021
General »
...int ${foo} = ${bar};");

to do something different than

mixin(i"int ${foo} = ${bar};".idup);

Because...
January 29, 2021
General »
...similar to:

void bar(const char *);

foo(T)(T arg) { bar(arg); }

bar("hello"); // ok...
January 29, 2021
General »
...interpolated string? `auto foo(T...)(T arg){bar(arg);}`
5: If an interpolated string gets...
January 28, 2021
General »
...I would expect:

foo(lazy string s)
bar(Args...)(lazy Args args) if (is(Args...
January 28, 2021
Learn »
...nogc;
}

class Foo{
    Bar bar;

    this(Bar bar){
    	this.bar = forward!bar;
    }
}

void main(){
    void...
January 25, 2021
Learn »
...addRoot(cast(void*) object);
}
...
extern (C) export SomeObject bar() {
    return fun(new SomeObject);
}

Wrong way?
January 24, 2021
Announce »
...is a lot more formal, a large bar to overcome, so you will lose a...
90 91 92 93 94 95 96 97 98 99 100 101
Next ›   Last »