The register can hold the address of the whole struct, and the numeric portion can be modified depending on the structure member to be accessed.
寄存器可以存放整个结构的地址,数字部分可以根据所访问的结构成员进行修改。
This struct is used as an argument to allow methods to poll on it or register a callback to be fired when cancellation is requested. Cancellationtokensource.
这个结构体可作为一个参数,让方法进行轮询,或者注册到一个回调中,在撤销被请求的时候触发。
Once created, a struct represents a new type that can then be used throughout your interface definition.
一旦创建了,struct 表示可以在整个接口定义中被使用的新类型。
All the classes, struct, enums (and so on) under this stereotyped UML package will be generated within this namespace in the generated code.
这个stereotypedUML包下所有的类、结构、枚举(以及其它)生成代码之后,都将包括在这个名字空间中。
In other words, a struct value can be assigned to a struct variable only if every field of the struct may be legally assigned individually by the program.
换句话说,如果想把一个结构体赋值给另一个结构体,就必须让该结构体的每一个成员变量都能被程序合法的赋值。
It also defines a Struct class for defining arbitrary data aggregations, and the special class any which can be used to represent any built-in or derived type and thus is the basis of dynamic typing.
它还定义了一个struct类,用来定义任意的数据聚合,此外,还定义了特殊的类any,它可以用来表示任何内置或导出类型,因而它也就成了动态类型化(dynamic typing)的基础。
Those functions can then be called as methods on the struct.
这些函数之后可作为struct的方法而被调用。
The iocb argument can usually be treated as an opaque cookie used by the AIO subsystem; if you need the struct file pointer for this file descriptor, however, you can find it as iocb->ki_filp.
通常可以把iocb看作AIO子系统使用的不透明数据结构。然而,如果需要文件描述符的structfile指针,可以通过iocb->ki_flip获取。
Why can an unnamed struct not be used as a trailing return type?
为什么一位不愿透露姓名的结构不能作为后返回类型?
如果它是一个结构,可以这样。
As for struct padding and aliasing, the compiler vendor has likely implicitly assumed that only their compiler is to be used.
至于结构填充和混叠,编译器厂商可能已经隐含地假定只有他们的编译器将被使用。
A struct cannot inherit from another struct or class, and it cannot be the base of a class.
一个结构不能从另一个结构或类继承,而且不能作为一个类的基。
After this call, the struct is considered to be definitely assigned; that is, all its members are initialized to their default values.
在这个呼叫之后,此结构将被视为已经明确的指派了,也就是,它的所有成员都已经初始化为它们的预设值。
You can use an unnamed struct anywhere you can use a struct - the only difference is that it doesn't get a name that can be used somewhere else.
你可以在任何地方使用一位不愿透露姓名的结构可以使用结构——唯一的区别是,它没有一个名称,可以使用在其他地方。
If your struct is immutable then all automatic copies resulting from being passed by value will be the same.
如果你的结构是不变的,然后从价值传递产生的所有自动副本将是相同的。
When a struct contains a reference type as a member, the default constructor of the member must be invoked explicitly, otherwise the member remains unassigned and the struct cannot be used.
当结构包含引用类型作为成员时,必须显式调用该成员的默认构造函数,否则该成员将保持未赋值状态且该结构不可用。
Indexers allow instances of a class or struct to be indexed just like arrays.
索引器允许类或结构的实例就像数组一样进行索引。
A given interface can be inherited and implemented by any class or struct.
指定的介面可以由任何类别或结构来继承和实作。
A given interface can be inherited and implemented by any class or struct.
指定的介面可以由任何类别或结构来继承和实作。
应用推荐