--- struct S { ubyte[12] bar; }
bool foo (ref S s) { static bool prop(const(ubyte)[] f) { return f.length > 1; } return s.bar[].prop; } --- Thanks!
Tobias Pankrath via Digitalmars-d-learn Mon, 04 Nov 2019 11:56:01 -0800
--- struct S { ubyte[12] bar; }
bool foo (ref S s) { static bool prop(const(ubyte)[] f) { return f.length > 1; } return s.bar[].prop; } --- Thanks!