Hacker News new | ask | show | jobs
by eliteraspberrie 4519 days ago
It is also impossible for a variable of type int to have a value greater than SIZE_MAX.
1 comments

On conventional platforms, sure, but there's nothing in the standard stopping int being larger than size_t. It would make plenty of sense on segmented or small-pointer architectures, like x32 (word size 64 bit, pointer size 32 bit).