Using std traits

JN 666total at wp.pl
Thu Jan 25 19:57:36 UTC 2018


On Thursday, 25 January 2018 at 19:49:05 UTC, JN wrote:
> if (!hasUDA!(member, "noserialize"))

Nevermind, I get it now, member is only the field name, not a 
'reference', changed it to:

if (!hasUDA!(mixin(T.stringof ~ "." ~ member), "noserialize"))

and works now



More information about the Digitalmars-d-learn mailing list