我也遇到同样的问题。
原文是“When writing a C++ program, in most places that a space appears we could instead use a newline. One exception to this rule is that spaces inside a string literal cannot be replaced by a newline. Another exception is that spaces are not allowed inside preprocessor directives.
[Quote=引用 7 楼 pengzhixi 的回复:]
White space can appear within a preprocessing
token only as part of a header name or between the quotation characters in a character literal or string
literal.
[/Quote]
“only as part of ”,那么说,preprocessing
token里面还是可以出现空格的呀。
White space can appear within a preprocessing
token only as part of a header name or between the quotation characters in a character literal or string
literal.