From Jason Turner

[cuchar.syn]

Diff to HTML by rtfpessoa

tmp/tmpe5nuwh_a/{from.md → to.md} RENAMED
@@ -1,8 +1,10 @@
1
  ### Header `<cuchar>` synopsis <a id="cuchar.syn">[[cuchar.syn]]</a>
2
 
3
  ``` cpp
 
 
4
  namespace std {
5
  using mbstate_t = see below;
6
  using size_t = see [support.types.layout];
7
 
8
  size_t mbrtoc8(char8_t* pc8, const char* s, size_t n, mbstate_t* ps);
@@ -13,11 +15,10 @@ namespace std {
13
  size_t c32rtomb(char* s, char32_t c32, mbstate_t* ps);
14
  }
15
  ```
16
 
17
  The contents and meaning of the header `<cuchar>` are the same as the C
18
- standard library header `<uchar.h>`, except that it declares the
19
- additional `mbrtoc8` and `c8rtomb` functions and does not declare types
20
- `char16_t` nor `char32_t`.
21
 
22
- See also: ISO C 7.28
23
 
 
1
  ### Header `<cuchar>` synopsis <a id="cuchar.syn">[[cuchar.syn]]</a>
2
 
3
  ``` cpp
4
+ #define __STDC_VERSION_UCHAR_H__ 202311L
5
+
6
  namespace std {
7
  using mbstate_t = see below;
8
  using size_t = see [support.types.layout];
9
 
10
  size_t mbrtoc8(char8_t* pc8, const char* s, size_t n, mbstate_t* ps);
 
15
  size_t c32rtomb(char* s, char32_t c32, mbstate_t* ps);
16
  }
17
  ```
18
 
19
  The contents and meaning of the header `<cuchar>` are the same as the C
20
+ standard library header `<uchar.h>`, except that it does not declare
21
+ types `char8_t`, `char16_t`, or `char32_t`.
 
22
 
23
+ See also: ISO C 7.30
24