Search

July 31, 2021
General »
...use a leading dot to disambiguate...

.foo:bar; // not a label
std.datetime:SysTime; // already...
July 30, 2021
General »
...goto` labels, so `foo:bar;` could be either (a) the statement `bar;` with the label...
July 29, 2021
General »
...safe { @safe void test(); }
    @safe: @safe void bar();

This is quite deliberate. It's the...
July 28, 2021
General »
...in, maybe like...

@system (int[] foo, float bar) { ... }

unsafe blocks could be lowered to a...
July 27, 2021
Issues »
...auto bar()
    {
            struct S {}
        return new Foo!S();
    }

    auto f = foo();
    auto b = bar();

    // both...
July 27, 2021
Issues »
...S();
    }

    auto bar()
    {
        struct S {}
        return Foo!S();
    }

    auto f = foo();
    auto b = bar();

    // both...
July 25, 2021
General »
Consider this...

int foo() { return 42; }

void bar()
{
    int[2] what;
    if (foo() == 24)
    {
       what...
July 23, 2021
Learn »
...L left, const R right) {
	// Function
}

void bar(uint L)(float[L] l) {
	// Function
}

void...
July 23, 2021
Learn »
...D
string fooImpl = q{
   /// Bar does fancy things.
   const void bar() { /*do something fancy*/ }
};

/// This...
July 22, 2021
General »
...enum Bar {
    case a
    case b
}

func test(_ : Foo) { print("test a"); }
func test(_ : Bar...
74 75 76 77 78 79 80 81 82 83 84 85
Next ›   Last »