Language-agnostic term for typed things that need memory

Posted by FredOverflow on Stack Overflow See other posts from Stack Overflow or by FredOverflow
Published on 2010-05-02T16:47:33Z Indexed on 2010/05/02 17:07 UTC
Read the original article Hit count: 746

Is there an accepted general term that subsumes the concepts of variables, class instances and arrays? Basically "any typed thing that needs memory". In C++, such a thing is called an object, but I'm looking for a more language-agnostic term.

§ 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).

© Stack Overflow or respective owner

Related posts about language-agnostic

Related posts about variables