Terminology: What is an Object?

Posted xiyu714

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Terminology: What is an Object?相关的知识,希望对你有一定的参考价值。

 

C++ programmers tend to be cavalier in their use of the term object. Most generally, an object is a region of memory that can contain data and has a type. Some use the term object only to refer to variables or values of class types. Others distinguish between named and unnamed objects, using the term variable to refer to named objects. Still others distinguish between objects and values, using the term object for data that can be changed by the program and the term value for data that are read-only

摘自C++ Primer

 

以上是关于Terminology: What is an Object?的主要内容,如果未能解决你的问题,请参考以下文章