可能重复:
'unsigned temp:3'表示什么
我在阅读Clang的代码时遇到了一个问题.
class LangOptions {
public:
unsigned Trigraphs : 1; // Trigraphs in source files.
unsigned BCPLComment : 1; // BCPL-style '//' comments.
...
};
Run Code Online (Sandbox Code Playgroud)
这是我第一次看到语法":1",":1"代表什么?谢谢!
| 归档时间: |
|
| 查看次数: |
173 次 |
| 最近记录: |