网站首页  英汉词典

请输入您要查询的英文单词:

 

单词 Reference type
释义

Reference type

原声例句
Apple 最新资讯

In Swift, we use both value and reference types, and while NSCoding supports classes, it doesn't work at all with structs or enums.

在 Swift 里,我们会用到值类型和引用类型虽然 NSCoding 支持 类(class)但它对结构(struct) 或者 枚举型(enum) 就无能为力了。

英语百科

Reference type

In programming language theory, a reference type is a data type that refers to an object in memory. A pointer type on the other hand refers to a memory address. Reference types can be thought of as pointers that are implicitly dereferenced. The objects being referred to are dynamically allocated on the heap whereas value types are allocated automatically on the stack. In languages supporting garbage collection the objects being referred to are destroyed automatically after they become unreachable.

随便看

 

英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2024 encnc.com All Rights Reserved
更新时间:2025/6/23 15:06:06