Suppose for a minute that size_t is a typedef for an existing integer, that is, the same width as unsigned int , unsigned long or unsigned long long .
AFAIR, it may be a separate (larger) type with respect to the standard wording, but I think this is unlikely.
Working with the assumption that size_t at most unsigned long long , stoull or strtoull , followed by clicking on size_t should work.
From the same assumption ( size_t , defined in terms of unsigned long or unsigned long long ), operator>> would be overloaded for this type.
Devsolar
source share