Standard library header <cstddef>
From cppreference.net
Dieser Header war ursprünglich in der C-Standardbibliothek als <stddef.h> enthalten.
Dieser Header ist Teil der Utility -Bibliothek.
Makros |
||
|
implementierungsdefinierte Nullzeigerkonstante
(Makrokonstante) |
||
|
Byte-Offset vom Anfang eines
Standard-Layout
-Typs zum angegebenen Member
(Funktionsmakro) |
||
Typen |
||
|
vorzeichenloser Ganzzahltyp, zurückgegeben vom
sizeof
-Operator
(Typedef) |
||
|
vorzeichenbehafteter Ganzzahltyp, zurückgegeben bei der Subtraktion zweier Zeiger
(Typedef) |
||
|
(C++11)
|
der Typ des Nullzeigerliterals
nullptr
(Typedef) |
|
|
(C++11)
|
trivialer Typ mit Ausrichtungsanforderung so groß wie jeder andere skalare Typ
(Typedef) |
|
|
(C++17)
|
der Byte-Typ
(Enumeration) |
|
Funktionen |
||
|
(C++17)
|
konvertiert
std::byte
zu Ganzzahl
(Funktionstemplate) |
|
Übersicht
namespace std { using ptrdiff_t = /* siehe Beschreibung */; using size_t = /* siehe Beschreibung */; using max_align_t = /* siehe Beschreibung */; using nullptr_t = decltype(nullptr); enum class byte : unsigned char {}; // Byte-Typ-Operationen 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 /* siehe Beschreibung */ #define offsetof(P, D) /* siehe Beschreibung */