常見例句雙語例句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.可以看到,操作符的即時(shí)多態(tài),或操作符重載,對於我們來說,如果小心使用和記錄,會非常強(qiáng)大。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時(shí)曾問過他爲(wèi)何放棄操作符重載(我想該問題和答案還尚未公開過)。原聲例句OK, in each case, what these things are doing, is they're doing, what sometimes gets referred to as operator overloading.這將會是個(gè)默認(rèn)的或者說是,通用的來比較對象是否相同的方法,好,在每個(gè)例子中,這些事情正在做的,就是,一些與操作符重載有關(guān)的東西。麻省理工公開課 - 計(jì)算機(jī)科學(xué)及編程導(dǎo)論課程節(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ù)情況下都是對的,我要這麼說的原因是,通過運(yùn)算符重載我可以,用一個(gè)通用的借口對。麻省理工公開課 - 計(jì)算機(jī)科學(xué)及編程導(dǎo)論課程節(jié)選So there are some downsides, in my view, to doing operator overloading, but there's some real pluses.它還可以應(yīng)用於其他一些東西,因此這樣做操作符重載,就會産生一些負(fù)麪影響了,以我的觀點(diǎn)來看的話。麻省理工公開課 - 計(jì)算機(jī)科學(xué)及編程導(dǎo)論課程節(jié)選 返回 operator overloading