std::assume_aligned tells the compiler to assume the input pointer is aligned http://wg21.link/P1007 Would you be surprised if:
-
-
Replying to @jfbastien
Argh, confused vote. I *expect* it to only be a hint (and emit aligning assuming code even if unaligned), not be surprised by it! std::ensure_aligned shall have that runtime (and if possible compile time) check.
1 reply 0 retweets 0 likes -
Replying to @jfbastien @bloerwald
I would expect UB if the input isn't aligned, so all of the above.
4:01 PM - 7 Oct 2018
0 replies
0 retweets
2 likes
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.