filter custom version id from __traits code

Basile B. b2.temp at gmx.com
Tue Jun 9 18:14:34 UTC 2020


On Tuesday, 9 June 2020 at 18:08:01 UTC, Stanislav Blinov wrote:
> On Tuesday, 9 June 2020 at 17:40:10 UTC, Basile B. wrote:
>
>> Any idea ?
>
> As I replied in the issue report:
>
>> Instead of
>> 
>> static if (!is(mixin(member) == module) && 
>> !(is(mixin(member))))
>> 
>> use
>> 
>> static if (is(typeof(mixin(member))))

Yes thanks again for the help.


More information about the Digitalmars-d-learn mailing list