Pattern matching is-expressions

Stefan Koch uplink.coder at
Fri Aug 21 17:39:12 UTC 2020

On Wednesday, 19 August 2020 at 13:48:49 UTC, Adam D. Ruppe wrote:
> On Wednesday, 19 August 2020 at 13:37:54 UTC, Dennis wrote:
>> The existence of meta-programming libraries wrapping traits 
>> and is-expressions is a sign that D's introspection is not 
>> intuitive or ergonomic.

I just found out that
is(T S == super)
returns true, even if T is object.Object.

More information about the Digitalmars-d mailing list