class Base{} class Sub: Base{} static assert(is(SuperClassOf!Sub == Base));
I'd like to be able to write something like this, but I haven't
been able to find anything in the docs
- Getting the superclass of a type... pineapple via Digitalmars-d-learn
- Re: Getting the superclass ... Lodovico Giaretta via Digitalmars-d-learn
- Re: Getting the supercl... Johannes Loher via Digitalmars-d-learn
- Re: Getting the supercl... pineapple via Digitalmars-d-learn