in the code that I write, I basically only use size_t to avoid compiler warnings about comparisons between signed and unsigned when dealing with the size of stl containers. in nearly every other case, I use int.