header
<cstddef> (stddef.h)
C Standard definitions
This header defines several types implicitly generated or used by certain language expressions.
Types
- ptrdiff_t
- Result of pointer subtraction (type)
- size_t
- Unsigned integral type (type)
- max_align_t
- Type with widest scalar alignment (type)
- nullptr_t
- Null pointer type (C++) (type)
In C, this header also includes the declaration of the wchar_t type (wide character type), which in C++ is a language keyword that identifies a distinct fundamental type (no header inclusion required in C++).
Macro functions
- offsetof
- Return member offset (macro)
Macro constants
- NULL
- Null pointer (macro)