File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,10 +9,50 @@ ms.assetid: be8d1e39-5974-41ee-b41d-eafa6c82ffce
99
1010Includes the Standard C library header \< stddef.h> and adds the associated names to the ` std ` namespace.
1111
12+ > [ !NOTE]
13+ > ` cstddef ` doesn't include ** wchar_t** but does include the type ** byte** .
14+
1215## Syntax
1316
1417``` cpp
15- #include < cstddef>
18+ #include < cstddef>
19+ ```
20+
21+ ## Types
22+
23+ ``` cpp
24+ ptrdiff_t = see below;
25+ using size_t = see below;
26+ using max_align_t = see below;
27+ using nullptr_t = decltype (nullptr );
28+ ```
29+
30+ ## Enums
31+
32+ ``` cpp
33+ enum class byte : unsigned char {};
34+ ```
35+
36+ ## Operators
37+
38+ ```cpp
39+ template <class IntType> byte& operator<<=(byte& b, IntType shift)
40+ template <class IntType> byte operator<<(byte b, IntType shift) noexcept;
41+ template <class IntType> byte& operator>>=(byte& b, IntType shift) noexcept;
42+ template <class IntType> byte operator>>(byte b, IntType shift) noexcept;
43+ byte& operator|=(byte& l, byte r) noexcept;
44+ byte operator|(byte l, byte r) noexcept;
45+ byte& operator&=(byte& l, byte r) noexcept;
46+ byte operator&(byte l, byte r) noexcept;
47+ byte& operator^=(byte& l, byte r) noexcept;
48+ byte operator^(byte l, byte r) noexcept;
49+ byte operator~(byte b) noexcept;
50+ ```
51+
52+ ## Functions
53+
54+ ``` cpp
55+ template <class IntType > IntType to_integer (byte b) noexcept;
1656```
1757
1858## Remarks
You can’t perform that action at this time.
0 commit comments