From Jason Turner

[cpp.predefined]

Diff to HTML by rtfpessoa

tmp/tmpihhn6_qh/{from.md → to.md} RENAMED
@@ -22,18 +22,18 @@ The presumed name of the current source file (a character string
22
  literal).[^13]
23
 
24
  - **`__LINE__`**
25
 
26
  The presumed line number (within the current source file) of the current
27
- source line (an integer constant).
28
 
29
   
30
 
31
  - **`__STDC_HOSTED__`**
32
 
33
- The integer constant `1` if the implementation is a hosted
34
- implementation or the integer constant `0` if it is not.
35
 
36
  - **`__TIME__`**
37
 
38
  The time of translation of the source file: a character string literal
39
  of the form `"hh:mm:ss"` as in the time generated by the `asctime`
@@ -48,11 +48,11 @@ implementation:
48
  Whether \_\_STDC\_\_ is predefined and if so, what its value is, are
49
  *implementation-defined*.
50
 
51
  - **`__STDC_MB_MIGHT_NEQ_WC__`**
52
 
53
- The integer constant `1`, intended to indicate that, in the encoding for
54
  `wchar_t`, a member of the basic character set need not have a code
55
  value equal to its value when used as the lone character in an ordinary
56
  character literal.
57
 
58
  - **`__STDC_VERSION__`**
@@ -60,27 +60,27 @@ character literal.
60
  Whether \_\_STDC_VERSION\_\_ is predefined and if so, what its value is,
61
  are *implementation-defined*.
62
 
63
  - **`__STDC_ISO_10646__`**
64
 
65
- An integer constant of the form `yyyymmL` (for example, `199712L`). If
66
  this symbol is defined, then every character in the Unicode required
67
  set, when stored in an object of type `wchar_t`, has the same value as
68
  the short identifier of that character. The *Unicode required set*
69
  consists of all the characters that are defined by ISO/IEC 10646, along
70
  with all amendments and technical corrigenda as of the specified year
71
  and month.
72
 
73
  - **`__STDCPP_STRICT_POINTER_SAFETY__`**
74
 
75
- Defined, and has the value integer constant 1, if and only if the
76
  implementation has strict pointer safety (
77
  [[basic.stc.dynamic.safety]]).
78
 
79
  - **`__STDCPP_THREADS__`**
80
 
81
- Defined, and has the value integer constant 1, if and only if a program
82
  can have more than one thread of execution ([[intro.multithread]]).
83
 
84
  The values of the predefined macros (except for `__FILE__` and
85
  `__LINE__`) remain constant throughout the translation unit.
86
 
 
22
  literal).[^13]
23
 
24
  - **`__LINE__`**
25
 
26
  The presumed line number (within the current source file) of the current
27
+ source line (an integer literal).
28
 
29
   
30
 
31
  - **`__STDC_HOSTED__`**
32
 
33
+ The integer literal `1` if the implementation is a hosted implementation
34
+ or the integer literal `0` if it is not.
35
 
36
  - **`__TIME__`**
37
 
38
  The time of translation of the source file: a character string literal
39
  of the form `"hh:mm:ss"` as in the time generated by the `asctime`
 
48
  Whether \_\_STDC\_\_ is predefined and if so, what its value is, are
49
  *implementation-defined*.
50
 
51
  - **`__STDC_MB_MIGHT_NEQ_WC__`**
52
 
53
+ The integer literal `1`, intended to indicate that, in the encoding for
54
  `wchar_t`, a member of the basic character set need not have a code
55
  value equal to its value when used as the lone character in an ordinary
56
  character literal.
57
 
58
  - **`__STDC_VERSION__`**
 
60
  Whether \_\_STDC_VERSION\_\_ is predefined and if so, what its value is,
61
  are *implementation-defined*.
62
 
63
  - **`__STDC_ISO_10646__`**
64
 
65
+ An integer literal of the form `yyyymmL` (for example, `199712L`). If
66
  this symbol is defined, then every character in the Unicode required
67
  set, when stored in an object of type `wchar_t`, has the same value as
68
  the short identifier of that character. The *Unicode required set*
69
  consists of all the characters that are defined by ISO/IEC 10646, along
70
  with all amendments and technical corrigenda as of the specified year
71
  and month.
72
 
73
  - **`__STDCPP_STRICT_POINTER_SAFETY__`**
74
 
75
+ Defined, and has the value integer literal 1, if and only if the
76
  implementation has strict pointer safety (
77
  [[basic.stc.dynamic.safety]]).
78
 
79
  - **`__STDCPP_THREADS__`**
80
 
81
+ Defined, and has the value integer literal 1, if and only if a program
82
  can have more than one thread of execution ([[intro.multithread]]).
83
 
84
  The values of the predefined macros (except for `__FILE__` and
85
  `__LINE__`) remain constant throughout the translation unit.
86