Jam*_*lis 12
是的,这些都是有保障的.在C++ 11中,参见§7.1.6.2[dcl.type.simple]/table 10,其中列出了所有简单类型说明符(及其组合)及其含义.例如,该表包括以下内容:
unsigned => unsigned int
unsigned int => unsigned int
signed => int
signed int => int
int => int
Run Code Online (Sandbox Code Playgroud)
C11在§6.7.2/ 2中有一个类似的映射(它的格式不同,但是它指定了相同的等价组合组,至少对于C和C++共有的所有类型都是如此).
归档时间: |
|
查看次数: |
701 次 |
最近记录: |