[Issue 13629] Field postblit can't be generated for const field
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Oct 19 14:05:15 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13629
--- Comment #2 from ag0aep6g at gmail.com ---
A workaround:
struct C
{
const B[1] b_;
@property ref const(B) b() {return b_[0];}
}
--
More information about the Digitalmars-d-bugs
mailing list