How do I filter out this type?

Steven Schveighoffer schveiguy at yahoo.com
Fri Jun 22 17:20:03 UTC 2018


On 6/22/18 1:07 PM, Dr.No wrote:
>         static if(is(typeof(__traits(getMember, B, field) == A[])))
           static if(is(typeof(__traits(getMember, B, field)) == A[]))

Note the slight change in parentheses.

-Steve


More information about the Digitalmars-d-learn mailing list