[Issue 7413] Vector literals don't work

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 1 07:43:19 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=7413



--- Comment #7 from Manu <turkeyman at gmail.com> 2012-05-01 07:44:29 PDT ---
(In reply to comment #6)
> Note that for the moment you can do things like:
> 
>     int[4] o = [1,2,3,4];
>     int4 v1;
>     v1.array = o;

Indeed, but that's not something you can just type conveniently in user code.
I wrap that in a little constructor function, which is fine for now.

Proper literals are blocking std.simd though (which I'd really like to finish).
I don't think it's fair to say it's done without literals, and unit tests which
need an awful lot of literals.

If it's not likely to make the short list though, I'll finish it off with some
sort of constructor function in the mean time.

-- 
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