isA

Returns true if T is an instance of the template S.

template isA (
T
) {
enum isA;
}

See Also

http://forum.dlang.org/thread/mailman.2901.1316118301.14074.digitalmars-d-learn@puremagic.com#post-zzdpfhsgfdgpszdbgbbt:40forum.dlang.org

Meta