operator overloading
常见例句
- 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.
可以看到,操作符的即時多態,或操作符重載,對於我們來說,如果小心使用和記錄,會非常強大。 - 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.
這將會是個默認的或者說是,通用的來比較對象是否相同的方法,好,在每個例子中,這些事情正在做的,就是,一些與操作符重載有關的東西。
麻省理工公開課 - 計算機科學及編程導論課程節選 - 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.
它還可以應用於其他一些東西,因此這樣做操作符重載,就會産生一些負麪影響了,以我的觀點來看的話。
麻省理工公開課 - 計算機科學及編程導論課程節選 返回 operator overloading