[Issue 7015] New: ^^ and ^^= vector operations
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Nov 25 17:06:09 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=7015
Summary: ^^ and ^^= vector operations
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: druntime
AssignedTo: nobody at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 2011-11-25 17:05:12 PST ---
While writing some D code that uses vectors and the desire to find distances
among them, I'd like this vector operation to be supported:
void main() {
int[] a = [1, 2, 3];
int[] b = a[] ^^ 2;
}
DMD 2.057head gives:
test.d(3): Error: Array operation a[] ^^ 2 not implemented
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list