[c++] size_t
Unsigned integral type
size_t corresponds to the integral data type returned by the language operator sizeof and is defined in the header file (among others) as an unsigned integral type.
In, it is used as the type of the parameter num in the functions memchr, memcmp, memcpy, memmove, memset, strncat, strncmp, strncpy and strxfrm, which in all cases it is used to specify the maximum number of bytes or characters the function has to affect.
It is also used as the return type for strcspn, strlen, strspn and strxfrm to return sizes and lengths.
size_t corresponds to the integral data type returned by the language operator sizeof and is defined in the
In
It is also used as the return type for strcspn, strlen, strspn and strxfrm to return sizes and lengths.
留言
張貼留言