常用詞彙
- bind
Associating a name with a given entity so that uses of the name are uses of the underlying entity. For example, a reference is a name that is bound to an object.
- compound type
A type that is defined in terms of another type.
- const
Type qualifier used to define objects that may not be changed. const objects must be initialized, because there is no way to give them a value after they are defined.
- declaration
Asserts the existence of a variable, function, or type defined elsewhere. Names may not be used until they are defined or declared.
- definition
Allocates storage for a variable of a specified type and optionally initializes the variable. Names may not be used until they are defined or declared.
- const pointer
Pointer that is const.
- pointer to const
Pointer that can hold the address of a const object. A pointer to const may not be used to change the value of the object to which it points.
- reference to const
A reference that may not change the value of the object to which it refers. A reference to const may be bound to a const object, a nonconst object, or the result of an expression.
- const reference
因為 reference 本身不是 object 所以不能用 const 修飾,所以口語上跟 reference to const 同義。
- undefined
Usage for which the language does not specify a meaning. Knowingly or unknowingly relying on undefined behavior is a great source of hard-to-track runtime errors, security problems, and portability problems.(例如給 unsigned char 賦值 256)
- word
The natural unit of integer computation on a given machine. Usually a word is large enough to hold an address. On a 32-bit machine a word is typically 4 bytes.
0 意見:
張貼留言