gpt4 book ai didi

c++ - `long unsigned typedef int long ullong;` 是什么意思?

转载 作者:太空宇宙 更新时间:2023-11-03 10:24:57 26 4
gpt4 key购买 nike

cppreference page of typedef ,有一个例子:

// typedef can be used anywhere in the decl-specifier-seq
long unsigned typedef int long ullong;

我不明白这是什么意思....请帮忙?

最佳答案

意思是一样的

typedef unsigned long long int ullong;

typedefunsignedlonglongint 五个字> 是形成单个 decl-specifier-seq 的 decl-specifier 和(有一些可能的边缘情况异常(exception))decl-specifier 的含义或有效性-seq 不依赖于 decl-specifiers 的顺序。

注意int static x;static int x;是同一个意思,void virtual f();是同一个意思像 virtual void f(); 一样,举一些额外的例子。

关于c++ - `long unsigned typedef int long ullong;` 是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39842431/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com