Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Why introduce `std::launder` rather than have the compiler take care of it?. Parent comment
header h; read((char*)&h, sizeof(h)); get_destination(h).write((const char*)&h, sizeof(h));
(agree about the two views being live at the same time and memcpy being suboptimal here).
There are no comments on this comment yet.
(agree about the two views being live at the same time and memcpy being suboptimal here).