标准库标头 <cstddef>
来自cppreference.com
此标头原作为 <stddef.h> 存在于 C 标准库。
此头文件是工具库的一部分。
概要
namespace std {
using ptrdiff_t = /* 见描述 */;
using size_t = /* 见描述 */;
using max_align_t = /* 见描述 */;
using nullptr_t = decltype(nullptr);
enum class byte : unsigned char {};
// 字节类型运算
template<class IntType>
constexpr byte& operator<<=(byte& b, IntType shift) noexcept;
template<class IntType>
constexpr byte operator<<(byte b, IntType shift) noexcept;
template<class IntType>
constexpr byte& operator>>=(byte& b, IntType shift) noexcept;
template<class IntType>
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<class IntType>
constexpr IntType to_integer(byte b) noexcept;
}
#define NULL /* 见描述 */
#define offsetof(P, D) /* 见描述 */
