Getting most derived type of object that implements interface
ketmar via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jul 25 03:04:56 PDT 2016
yep, cast it. without the cast, compiler assuming that it knows
the type in runtime, and is using well-known classinfo address
instead of really looking into instance for that.
More information about the Digitalmars-d-learn
mailing list