@burntsushi5 I'm guessing you wrote the macro?
-
-
Replying to @Angus_GH
I did, but copied the idea from: https://github.com/rust-lang-nursery/simd/blob/master/src/common.rs#L35-L40 …
1 reply 0 retweets 0 likes -
Replying to @burntsushi5
Do you know why that dummy struct type is created? The expression for each member successively has `struct x0;`, `struct x1;`, etc...
1 reply 0 retweets 0 likes -
Replying to @Angus_GH @burntsushi5
Ah so I hadn't known before that in a $()+ you must use 1+ of the inner $variables, so the struct types are solely created to use `$elname`
1 reply 0 retweets 1 like -
Replying to @Angus_GH
Andrew Gallant Retweeted Andrew Gallant
Right. You might have missed this tweet?https://twitter.com/burntsushi5/status/868962416025096192 …
Andrew Gallant added,
1 reply 0 retweets 0 likes -
No problem. I didn't understand it either until I tried to take out the `struct` decl and saw it didn't work. Then it clicked. :-)
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Thanks for the help!