Standard library header - cppreference.com (original) (raw)

This header was originally in the C standard library as <stddef.h>.

This header is part of the utility library.

[edit] Synopsis

namespace std { using ptrdiff_t = /* see description /; using size_t = / see description /; using max_align_t = / see description /; using nullptr_t = decltype(nullptr);   enum class byte : unsigned char {};   // byte type operations template constexpr byte& operator<<=(byte& b, IntType shift) noexcept; template constexpr byte operator<<(byte b, IntType shift) noexcept; template constexpr byte& operator>>=(byte& b, IntType shift) noexcept; template constexpr byte operator>>(byte b, IntType shift) noexcept; constexpr byte& operator|=(byte& l, byte r) noexcept; constexpr byte operator|(byte l, byte r) noexcept; constexpr byte& operator&=(byte& l, byte r) noexcept; constexpr byte operator&(byte l, byte r) noexcept; constexpr byte& operator^=(byte& l, byte r) noexcept; constexpr byte operator^(byte l, byte r) noexcept; constexpr byte operator~(byte b) noexcept; template constexpr IntType to_integer(byte b) noexcept; }   #define NULL / see description / #define offsetof(P, D) / see description */

[edit] Notes