lingohey logo

struct

网络:
结构;结构体;结构体类型
Examples
1.
It is possible to split the definition of a class or a struct, or an interface over two or more source files.
可以结构接口定义拆分两个多个文件
2.
Keyword to overload a built-in operator or to provide a user-defined conversion in a class or struct declaration.
关键字用于结构声明声明运算运算符声明可以采用下列形式之一
3.
Now, you might think that this would cause problems for programs calling malloc -- how do they know about this struct?
现在可能认为程序调用malloc引发问题——它们如何知道这个结构
4.
After this call, the struct is considered to be definitely assigned; that is, all its members are initialized to their default values.
这个呼叫之后结构视为已经明确指派也就是所有成员已经初始化为它们预设
5.
A struct cannot be abstract and is always implicitly sealed.
struct不能abstract始终隐式sealed
6.
The main SPE program will receive an effective address pointer to a struct containing the size and pointer of a string in main memory.
SPE程序接收包含字符串大小指针struct有效地址指针
7.
Unless you need reference-type semantics, a small class may be more efficiently handled by the system if you declare it as a struct instead.
除非需要引用类型语义较小声明结构可以提高系统处理效率
8.
This sort of control over struct layout is useful when using platform invocation.
使用平台调用这种结构布局控制有用
9.
Internally, Boost is publicly deriving a class from the struct F (see Listing 19), then creating an object out of that class.
内部BooststructF公共派生一个清单19然后这个创建对象
10.
This struct acts as a container for the properties that you mark up (the link URL and linked text).
这个struct好比标记属性链接URL链接文本一个容器