From Jason Turner

[cuchar.syn]

Diff to HTML by rtfpessoa

tmp/tmpu72_owjn/{from.md → to.md} RENAMED
@@ -3,18 +3,21 @@
3
  ``` cpp
4
  namespace std {
5
  using mbstate_t = see below;
6
  using size_t = see [support.types.layout];
7
 
 
 
8
  size_t mbrtoc16(char16_t* pc16, const char* s, size_t n, mbstate_t* ps);
9
  size_t c16rtomb(char* s, char16_t c16, mbstate_t* ps);
10
  size_t mbrtoc32(char32_t* pc32, const char* s, size_t n, mbstate_t* ps);
11
  size_t c32rtomb(char* s, char32_t c32, mbstate_t* ps);
12
  }
13
  ```
14
 
15
  The contents and meaning of the header `<cuchar>` are the same as the C
16
- standard library header `<uchar.h>`, except that it does not declare
17
- types `char16_t` nor `char32_t`.
 
18
 
19
- ISO C 7.28
20
 
 
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);
9
+ size_t c8rtomb(char* s, char8_t c8, mbstate_t* ps);
10
  size_t mbrtoc16(char16_t* pc16, const char* s, size_t n, mbstate_t* ps);
11
  size_t c16rtomb(char* s, char16_t c16, mbstate_t* ps);
12
  size_t mbrtoc32(char32_t* pc32, const char* s, size_t n, mbstate_t* ps);
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