go top

operator overloading

  • 运算符重载:在计算机编程中,运算符重载是一种允许程序员为已有的运算符赋予新的功能的技术。通过运算符重载,可以使代码更简洁、易读。

专业释义英英释义

  • 操作符重载
    运算子重载

·2,447,543篇论文数据,部分数据来源于NoteExpress

Operator overloading

  • abstract: In object-oriented programming, operator overloading—less commonly known as operator ad hoc polymorphism—is a specific case of polymorphism, where different operators have different implementations depending on their arguments. Operator overloading is generally defined by the language, the programmer, or both.

以上来源于: WordNet

双语例句原声例句

  • More consistent, symmetric operator overloading.

    一致的对称操作符重载

    youdao

  • In Listing 2, you can see the operator overloading I set up in Listing 1 in action.

    清单2可以看到在清单1设置操作符重载的效果。

    youdao

  • Operator overloading - overloading operator allows the DSL to provide a natural syntax.

    运算重载——对运算符进行重载可以使DSL可以提供一个更为自然语法

    youdao

更多双语例句
  • OK, in each case, what these things are doing, is they're doing, what sometimes gets referred to as operator overloading.

    这将会是个默认的或者说是,通用的来比较对象是否相同的方法,好,在每个例子中,这些事情正在做的,就是,一些与操作符重载有关的东西。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • The reason I say that is, by having operator overloading I can use 1 generic interface to all of the objects that I want to use.

    他在大多数情况下都是对的,我要这么说的原因是,通过运算符重载我可以,用一个通用的借口对。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • So there are some downsides, in my view, to doing operator overloading, but there's some real pluses.

    它还可以应用于其他一些东西,因此这样做操作符重载,就会产生一些负面影响了,以我的观点来看的话。

    麻省理工公开课 - 计算机科学及编程导论课程节选

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定