2 ms·
It seems reasonable to pass around 32 bits in a u32 or 64 bits in a u64 rather than using arrays.
by anonymoushn 3y ago
It seems reasonable to pass around 32 bits in a u32 or 64 bits in a u64 rather than using arrays.
- pif 3y agoIt is reasonable, but you must pay attention not to incur into undefined behaviour (which the post is about). An array of chars is the way to go for the C++ committee.