May 06, 2014 Re: Is it possible to check if a type is an instance of a template? | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile | On 5/6/14, bearophile via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> wrote: > There is now std.traits.isInstanceOf that could do what you need. Someone resurrected a thread from 2011. Of course there's isInstanceOf when I added it myself at the end of 2012. |
Copyright © 1999-2021 by the D Language Foundation