digitalmars.D.bugs - [Issue 15727] New: DMD adds default opEqals to structure with SIMD
- via Digitalmars-d-bugs (29/29) Feb 26 2016 https://issues.dlang.org/show_bug.cgi?id=15727
https://issues.dlang.org/show_bug.cgi?id=15727 Issue ID: 15727 Summary: DMD adds default opEqals to structure with SIMD vector Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: iaktakh gmail.com This compiles despite there isn't defined opEqals for core.simd vectors import core.simd; struct S { int4 vec; } void main() { S a, b; assert(a == b); // While this doesn't //int4 a, b //assert(a == b); } DMD64 D Compiler v2.070 --
Feb 26 2016