2 Lexical conventions [lex]2.8 Header names [lex.header]
|
2 詞法約定 【詞法】2.8 頭名稱 【詞法.頭】
|
header-name:< h-char-sequence> " q-char-sequence"
h-char-sequence: h-char: q-char-sequence: q-char:
|
頭-名稱:< h-字符-序列> " q-字符-序列"
h-字符-序列: h-字符: q-字符-序列: q-字符:
|
Header name preprocessing tokens shall only appear within a #include preprocessing directive (16.2). The sequences in both forms of header-names are mapped in an implementation-defined manner to headers or to external source file names as specified in 16.2.
|
頭名稱預處理標記僅在 #include 預處理指令中出現(16.2)。兩種形式的頭名稱以實現定義的方式被映射到 16.2 節指定的頭或外部源文件名稱。
|
If either of the characters ' or / , or either of the character sequences /* or // appears in a q-char-sequence of a h-char-sequence, or the character " appears in a h-char-sequence, the behavior is undefined.19)
|
如果字符 ' 或 / ,或字符序列 /* 或 // 中的任何一個出現在某個 q-字符-序列或 h-字符-序列中,或字符 " 出現在 h-字符-序列中,行爲則是未定義的。19)
|
19) Thus, sequences of characters that resemble escape sequences cause undefined behavior.
|
19) 比如,轉義序列一類的字符序列將導致未定義行爲。
|
PREV [lex.comment] | NEXT [lex.ppnumber] | 上一頁 【詞法.註釋】 | 下一頁 【詞法.預處理數字】 |
2.8 - [lex.header] - 【詞法.頭】
請不要轉載本文;請不要以任何形式重新出版,發佈本文;請在下載本文 24 小時內將其刪除;禁止將本文用於商業目的。
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.