You must specify it using the use directive.
using std::size_t;
, , .
stddef.h , , , , "", . stddef.h - , .
use, , , . , , , size_t.
, . 10 ++ 1998 , ++. , , , - stddef.h, .
"std::" , using, . , , "" , . , , , , , , size_t.
, FAQ ++ ( 27.5) , , .
, " std" , , size_t . .
, tuple_cat (), , , , . github , , , :
A) "size_t" AND "stddef.h" language:c++
B) "std::size_t" AND "<cstddef>" language:c++
C) "size_t" AND "<cstddef>" AND NOT "std::size_t" language:c++
D) "size_t" AND "<cstddef>" AND "using namespace std" AND NOT "std::size_t" language:c++
E) "size_t" AND "<cstddef>" AND "using std::size_t" language:c++
:
- A) 974 239 ( stddef.h)
- B) 1,230,021 ( cstddef std:: pre)
- C) 469 721 ( cstddef, )
- D) 32 539 (cstddef , " std", !)
- E) 27 080 (, , " std:: size_t" )
, , , , , , , , . , "std::" size_t (B), "stddef.h" (A). , (D) , , /, size_t , (C).
, " ", "std::" . , "stddef.h" , - using.