TypeFunction example creatiing a conversion matrix

Steven Schveighoffer schveiguy at gmail.com
Thu Oct 1 18:26:15 UTC 2020


On 10/1/20 2:10 PM, Andrei Alexandrescu wrote:
> On 10/1/20 1:55 PM, Stefan Koch wrote:
>> Please show me in the code where is(T : U) is used.
>> I don't find it in std variant.
> 
> It's in the use of ImplicitConversionTargets in std.traits.

The only use of is(T:U) in that trait is:

is(T : typeof(null))

-Steve


More information about the Digitalmars-d mailing list