【发布时间】:2011-06-10 13:32:41
【问题描述】:
我在阅读Clang的代码时遇到了问题。
class LangOptions {
public:
unsigned Trigraphs : 1; // Trigraphs in source files.
unsigned BCPLComment : 1; // BCPL-style '//' comments.
...
};
这是我第一次看到语法“:1”,“:1”代表什么?谢谢!
【问题讨论】:
-
感谢提醒。实际上这是同一个问题:-)