×

值语义 meaning in Chinese

value semantics

Examples

  1. User - defined value types have value semantics , not reference semantics
    用户定义的值类型具有值语义,而不是引用语义。
  2. Class , you don t know whether the accessors have value or reference semantics
    假设您是widget类的一个使用者,您并不知道存取器具有值语义还是引用语义。
  3. However , if you are implementing a reference type that is intended to have value semantics , such as a complex number type , you should override the equality operator
    ,也不应重载相等运算符。但是,如果实现的引用类型将具有值语义(如复数类型) ,应重写相等运算符。
  4. Is not that they are vulnerable to confusing alias side effects which they are , but that their semantics were not properly documented . if accessors were clearly documented to have reference semantics instead of the commonly assumed value semantics , callers might be more likely to realize that when they call
    如果存取器被清楚地说明为具有引用语义(而不是像通常那样被假设为值语义) ,那么调用者将更可能认识到,在它们调用setlocation时,它们是将point对象的所有权转移给另一个实体,并且也不大可能仍然认为它们还拥有point对象的所有权,因而还能够再次使用它。

Related Words

  1. 变换语义
  2. 语义消解
  3. 语义编码
  4. 合成语义
  5. 语义前提
  6. 语义错误
  7. 语义关系
  8. 语义信息
  9. 语义区别
  10. 形式语义
  11. 值映射
  12. 值映射到建立的球体上
  13. 值域
  14. 值域;区域;范围;极差;分布域
PC Version

Copyright © 2018 WordTech Co.