Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Type-safe Bitmasks in C++. Parent comment
For example instead of
#define BTN_A 0x01
bitmask<Button>(A)
There are no comments on this comment yet.
For example instead of
you have Both of these are known at compile time and they are equivalent.