Can someone explain what happens when size_t, or any other type identifier, is wrapped in parentheses. I know it is the old typecast syntax but in this context I don\'t follow w
(size_t)-1 is in fact the equivalent of size_t(-1)
(size_t)-1
size_t(-1)
See also the following question c cast syntax styles