" long unsigned typedef int long ullong; "是什么意思?
What does `long unsigned typedef int long ullong;` mean?
在typepedef的cppreference页面中,有一个例子:
// typedef can be used anywhere in the decl-specifier-seq
long unsigned typedef int long ullong;
我不明白这是什么意思....请帮忙吗?
与
意思相同typedef unsigned long long int ullong;
五个词typedef
, unsigned
, long
, long
和int
是decl-specifiers,形成了一个decl-specifier-seq,并且decl-specifier-seq的意义或有效性与decl-specifier的顺序无关。
请注意,int static x;
的含义与static int x;
相同,void virtual f();
的含义与virtual void f();
相同,以提供一些额外的示例
unsigned long long int
是c++中的一种数据类型。这一行基本上为它创建了一个别名:"ullong"。
相关文章:
- 为不同配置设置MSVC_RUNTIME_LIBRARY的正确方法是什么
- C++避免重复声明的语法是什么
- 在C++中,将大的无符号浮点数四舍五入为整数的最佳方法是什么
- 实现无开销push_back的最佳方法是什么
- C++从另一个类访问公共静态向量的正确方法是什么
- "throw expression code" 1e7 >返回 d 是什么?投掷标准::overflow_error( "too big" ) : d;意味 着?
- C++中名称篡改的目的是什么
- 在 c++ 中拥有一组结构的正确方法是什么?
- 这个指针和内存代码打印是什么?我不知道是打印垃圾还是如何打印我需要的值
- 是什么阻止DOMTimerCoordinator::NextID进入无休止的循环
- 派生类销毁的最佳实践是什么
- 这个语法std::class<>{}(arg1, arg2) 在C++中是什么意思?
- 通过JNI传递数据数组的最快方法是什么
- "using namespace std;"在C++的作用是什么?
- 这句话是什么意思 - " vector<long long> distance(n, std::numeric_limits<long long>::max()); "?
- "1L << count"是什么意思?如何使用超出"unsigned long long int? "范围的语句编号打印?
- Visual Studio 2008下使用long long int的编译器错误的原因是什么?
- " long unsigned typedef int long ullong; "是什么意思?
- c++中计算long long int型整型的绝对值最快的方法是什么?
- 在计算过程中将int类型转换为long long的优点是什么?