常見例句雙語例句That was the first time I was introduced to the concept of operator overloading.這是我第一次被介紹給了操作符重載的概念。As you've seen, operator ad hoc polymorphism, or operator overloading to the rest of us, can be quite powerful if carefully employed and documented.可以看到,操作符的即時多態(tài),或操作符重載,對于我們來說,如果小心使用和記錄,會非常強大。I remember asking this Gosling in one of my interviews of him why he left out operator overloading (I don't think that question and answer ended up getting published).我記得在采訪Gosling時曾問過他為何放棄操作符重載(我想該問題和答案還尚未公開過)。原聲例句OK, in each case, what these things are doing, is they're doing, what sometimes gets referred to as operator overloading.這將會是個默認的或者說是,通用的來比較對象是否相同的方法,好,在每個例子中,這些事情正在做的,就是,一些與操作符重載有關(guān)的東西。麻省理工公開課 - 計算機科學及編程導論課程節(jié)選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.他在大多數(shù)情況下都是對的,我要這么說的原因是,通過運算符重載我可以,用一個通用的借口對。麻省理工公開課 - 計算機科學及編程導論課程節(jié)選So there are some downsides, in my view, to doing operator overloading, but there's some real pluses.它還可以應(yīng)用于其他一些東西,因此這樣做操作符重載,就會產(chǎn)生一些負面影響了,以我的觀點來看的話。麻省理工公開課 - 計算機科學及編程導論課程節(jié)選 返回 operator overloading