Static convertability testing?

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Feb 12 11:17:19 PST 2015


On Thu, 12 Feb 2015 19:09:45 +0000, Chris Williams wrote:

> Is there something like isConvertible() in the library somewhere?

there is at least `std.traits.isImplicitlyConvertible`:
http://dlang.org/phobos/std_traits.html#isImplicitlyConvertible
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20150212/12cf51cf/attachment.sig>


More information about the Digitalmars-d-learn mailing list