digitalmars.D.learn - Bug or case of hijacking protection ?
Is this a bug or a case of hijacking protection ? ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ struct S { void test(void*, size_t){} } void test(ref S,void[]){} void main() { ubyte[] a; (*new S).test(a); } ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨
Oct 17 2016
On Monday, 17 October 2016 at 14:01:26 UTC, Basile B. wrote:Is this a bug or a case of hijacking protection ? ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ struct S { void test(void*, size_t){} } void test(ref S,void[]){} void main() { ubyte[] a; (*new S).test(a); } ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨In the meantime I've found this BR: https://issues.dlang.org/show_bug.cgi?id=11836 It could be closed if it's an authentic anti-hijacking case...waitaing for your expertise.
Oct 17 2016