Andrei Alexandrescu wrote:
In case there are several non-serialized variables, how do you avoid clashes between different definitions of __nonSerialized?
struct A { int a, b; mixin NonSerialized!(a, b); } static const __nonSerialized = ["a", "b"];
Andrei Alexandrescu wrote:
In case there are several non-serialized variables, how do you avoid clashes between different definitions of __nonSerialized?
struct A { int a, b; mixin NonSerialized!(a, b); } static const __nonSerialized = ["a", "b"];