Search

21 hours ago
Issues »
https://issues.dlang.org/show_bug.cgi?id=24892

--- Comment #4 from Dennis <dkorpel@live...
1 day ago
Issues »
...test for whether a class was derived from a specific class in order to do...
1 day ago
General »
...realThis));
    }
}

class MyClass : SerializationRoot { }

class MyOtherClass : SerializationRoot {
    this(int) { }
    override void serialize() {
        writeln("This class...
1 day ago
Issues »
...a template function accepts a generic struct/class, the constraints test for capabilities (like having...
1 day ago
General »
...std;

interface ISerialize {
    void serialize();
}

struct thing{ }

class SerializableRoot {
    void serialize(this T)() {
        // serialize here...
1 day ago
Issues »
https://issues.dlang.org/show_bug.cgi?id=24892

Richard (Rikki) Andrew Cattermole <alphaglosined@gmail...
1 day ago
Issues »
...foo;

    static assert(is(Foo : A));
}

class A {}

class Foo
{
    A a;

    alias this = a...
1 day ago
DIP Ideas »
...conversions aren't involved. And even for class inheritance, which has the implicit conversion, it...
1 day ago
General »
...interface ISerialize {
	void serialize();
}

class SerializableRoot {
	void serialize() {
		// serialize here
	}
}

class MyType : SerializableRoot {
	@thing int...
1 day ago
DIP Ideas »
...a child class can implicitly convert to a reference of its parent class. It's...
1 2 3
Next ›   Last »