3 ms·
>"size_t" size has pretty funny origins "Yep. Its origins lie in the old <std.h> header we developed at Whitesmiths, Ltd. in the late 1970s. We used the typed
by benj111 7y ago
>"size_t" size has pretty funny origins
"Yep. Its origins lie in the old <std.h> header we developed at
Whitesmiths, Ltd. in the late 1970s. We used the typedef BYTES
as the type of sizeof, to be sure we could count all the bytes
in the largest declarable (or allocatable) object. X3J11 chose
size_t to follow the *_t convention that had begun to creep up
in Posix."
https://bytes.com/topic/c/answers/221996-origin-size_t-curious https://bytes.com/topic/c/answers/221996-origin-size_t-curio...
Do we have different senses of humour, or have you heard something different???