Re:About size_t and ptrdiff_t
by pmelendez on Tuesday August 18, 2015 @12:42PM
(#10080244)
"size_t can store a pointer, it is better to use another unsinged integer type uintptr_t for that purpose "
So he is actually recommending the unsigned version. Although there are some people (like the Google guidelines for C++) that recommend not using unsigned types because of overflows (which is arguable but it is a point)
[ Parent
| on HN ]
There are no comments on this comment yet.