gpt4 book ai didi

arrays - 需要内存的类型化事物的语言不可知术语

转载 作者:行者123 更新时间:2023-12-01 15:09:37 25 4
gpt4 key购买 nike

是否有一个公认的通用术语包含变量、类实例和数组的概念?基本上是“任何需要内存的类型”。在 C++ 中,这样的东西称为对象,但我正在寻找一个与语言无关的术语。

§ 1.8 The C++ object model

1 The constructs in a C++ program create, destroy, refer to, access, and manipulate objects. An object is a region of storage. [...] An object can have a name (Clause 3). An object has a storage duration (3.7) which influences its lifetime (3.8). An object has a type (3.9).

最佳答案

在大多数/所有事物都是“一流”的语言中,例如 Lisp 或 Lua,这将被称为“值”。

关于arrays - 需要内存的类型化事物的语言不可知术语,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2754155/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com