Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
We recommend using Visual Studio 2017


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.

Community Additions

© 2018 Microsoft