From Jason Turner

[climits.syn]

Diff to HTML by rtfpessoa

tmp/tmpyl9mzco5/{from.md → to.md} RENAMED
@@ -1,8 +1,9 @@
1
  ### Header `<climits>` synopsis <a id="climits.syn">[[climits.syn]]</a>
2
 
3
  ``` cpp
 
4
  #define CHAR_BIT see below
5
  #define SCHAR_MIN see below
6
  #define SCHAR_MAX see below
7
  #define UCHAR_MAX see below
8
  #define CHAR_MIN see below
@@ -23,11 +24,11 @@
23
  ```
24
 
25
  The header `<climits>` defines all macros the same as the C standard
26
  library header `<limits.h>`.
27
 
28
- [*Note 1*: The types of the constants defined by macros in `<climits>`
29
- are not required to match the types to which the macros
30
- refer. — *end note*]
31
 
32
  See also: ISO C 5.2.4.2.1
33
 
 
1
  ### Header `<climits>` synopsis <a id="climits.syn">[[climits.syn]]</a>
2
 
3
  ``` cpp
4
+ // all freestanding
5
  #define CHAR_BIT see below
6
  #define SCHAR_MIN see below
7
  #define SCHAR_MAX see below
8
  #define UCHAR_MAX see below
9
  #define CHAR_MIN see below
 
24
  ```
25
 
26
  The header `<climits>` defines all macros the same as the C standard
27
  library header `<limits.h>`.
28
 
29
+ [*Note 1*: Except for `CHAR_BIT` and `MB_LEN_MAX`, a macro referring to
30
+ an integer type `T` defines a constant whose type is the promoted type
31
+ of `T` [[conv.prom]]. — *end note*]
32
 
33
  See also: ISO C 5.2.4.2.1
34