How is std.traits.isInstanceOf supposed to work?
Jonathan M Davis
jmdavisProg at gmx.com
Sun Nov 10 16:20:32 PST 2013
On Monday, November 11, 2013 00:43:17 TheFlyingFiddle wrote:
> The docs might be a little unclear about this. The template
> isInstanceOf checks to see if the second parameter is a template
> instantiation of the first parameter. It does not have anything
> to do with inheritance.
Which implies that it really should have been called isInstantiationOf and not
isInstanceOf.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list