Standard library header <cstddef>
From cppreference.net
このヘッダーは元々C標準ライブラリに <stddef.h> として存在していました。
このヘッダは utility ライブラリの一部です。
マクロ |
||
|
実装定義のヌルポインタ定数
(マクロ定数) |
||
|
標準レイアウト型
の先頭から指定されたメンバーまでのバイトオフセット
(関数マクロ) |
||
型 |
||
|
sizeof
演算子によって返される符号なし整数型
(typedef) |
||
|
2つのポインタを減算したときに返される符号付き整数型
(typedef) |
||
|
(C++11)
|
ヌルポインタリテラル
nullptr
の型
(typedef) |
|
|
(C++11)
|
他の任意のスカラー型と同じくらい大きなアライメント要件を持つトリビアル型
(typedef) |
|
|
(C++17)
|
バイト型
(enum) |
|
関数 |
||
|
(C++17)
|
std::byte
を整数に変換
(関数テンプレート) |
|
概要
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) /* 説明を参照 */