Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on *(char*)0 = 0; - What Does the C++ Programmer Intend with This Code? [video]. Parent comment
If I'm being pedantic, I might add something like
#if CHAR_BIT != 8 #error "This code assumes 8-bit char" #endif
If I'm being pedantic, I might add something like
But realistically, if I'm using headers defined by either POSIX or Windows, that's probably enough of a guarantee. (Though I'd still use CHAR_BIT rather than 8 to refer to the number of bits in a byte.)