引用类型 in English translation

reference type
引用 类型
reference types
引用 类型

Examples of using 引用类型 in Chinese and their translations into English

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
C中数据类型主要分为两大类:值类型和引用类型
The data types in C are divided into two main categories: Value Type and Reference Type.
这意味着我们在泛型类中使用的泛型只能是引用类型,而不能是基本类型。
This means that the generic types used in our generic classes can only be reference types, and not primitive types..
结构体(Structure)和枚举类型是值类型,并非引用类型,不是以引用的方式来存储和传递的。
Structures and enumerations are value types, not reference types, and are not stored and passed by reference..
你也可以说值类型指向一个值,引用类型指向一个对象。
You can also say that value type points to a value while reference type points to an object.
还有一个特殊的null字面值,可以用作任何引用类型的值。
There's also a special null literal that can be used as a value for any reference type.
只要是用new运算符来请求存储空间,就存在这种可能性--例如所有的引用类型
This possibility exists whenever storage space is requested with the new“operator- as is the case for all reference types.
每个结构是值类型,因此,即使它包含引用类型成员。
Every structure is a value type, even if it contains reference type members.
事实上,如果依赖readResolve进行实例控制,带有对象引用类型的所有实例域都必须声明为transient的。
In fact, if you depend on readResolve for instance control, all instance fields with object reference types must be declared transient.
既然我们已经了解了栈和堆的概念了,是时候了解值类型和引用类型的概念了。
Now that we have understood the concept of Stack and Heap, it's time to understand the concept of value types and reference types.
引用类型的对象必须要跟随它在堆上的引用以获取它们的数据。
Reference-type objects must follow their reference onto the heap in order to get at their data.
引用类型的变量赋值只会创建引用的一个副本,而不是所引用的值的副本。
Assignment to a variable of a reference type creates a copy of the reference rather than a copy of the referenced value.
在Swift中用值类型来替代引用类型,比以前在Objective-C中要容易许多,这可以让您的代码更简洁,并且更不容易出错。
Using value types over reference types in Swift is easier than ever before in Objective-C, making your code more expressive and less error-prone.
之后,我们会向你展示如何将一个引用类型封装到结构体里,这样我们就能够把它当作一个值类型来使用。
After that, we will demonstrate how to wrap a reference type in a struct in order to use it as an efficient value type..
Delegate用于声明一个引用类型,该引用类型可用于封装命名方法或匿名方法。
Delegate- Refers to a reference type that is used to encapsulate a named or anonymous method.
支持引用类型专用的基于堆栈的符号,也就是说其生命期与其声明的范围相关联。
A special stack-based notation for a reference type is supported; that is, one in which its lifetime is associated within the scope of its declaration.
引用类型不包含存储在变量的实际的数据,但它们包含一个引用的变量。
The reference types do not contain the actual data stored in a variable, but they contain a reference to the variables.
上面代码中,调用括号左侧是引用类型(因为foo是标识符):.
We see that on the left hand side of call parentheses there is a Reference type value(because foo is an identifier).
若转型失败且new_type是引用类型,则它抛出匹配类型std::bad_cast处理块的异常。
If the cast fails and new_type is a reference type, it throws an exception that matches a handler of type std::bad_cast.
当应用于引用类型时,其结果是被引用类型的大小。
When applied to a reference type, the result is the size of the referenced type..
C-类型必须是引用类型,以便在通用类型或方法中将其用作参数“T”.
The type‘int' must be a reference type in order to use it as parameter‘T' in the generic type or method‘Lesson'.
Results: 88, Time: 0.0212

Word-for-word translation

Top dictionary queries

Chinese - English