Defines the macros traditionally defined in the Standard C library header <stddef.h>.

   #include <stddef.h>
namespace std {
   using ::ptrdiff_t; 
   using ::size_t;

Including this header also ensures that the names declared with external linkage in the Standard C library header are declared in the std namespace. In this implementation, the names may or may not also be declared in the global namespace, depending on the specific translation environment.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft