upcasting的中文,翻译,解释,例句
upcasting
单词解释请参考:upcast
- upcasting的基本解释
-
v.
上抛, 向上投掷之物, 排气竖坑( upcast的现在分词 ), 向上抛的, 向上的
- 相似词
- 更多 网络例句 与upcasting相关的网络例句 [注:此内容来源于网络,仅供参考]
-
And upcasting from 'CDerived1 *' to 'CBase1 *' is always safe, thus can be converted trivially.
从'向上转型CDerived1 *'到'CBase1 *'永远是安全的,因此可以转换平凡。
-
There is upcasting mechanism, it just extracts dictionary of a base class from a dictionary tuple, so you can run a function that requires base class from a function that requires subclass
有一个向上转型机制,从字典对中取出基类的字典,于是对子类参数调用基类参数的函数成为可能。
-
The rest of the code works the same. It doesn't matter if you are upcasting to a "regular" class called Instrument , an abstract class called Instrument , or to an interface called Instrument . The behavior is the same.
剩余部分的代码还是一样的运转执行,不管将对象上传转化为了普通的 Instrument 类或者 Instrument 的抽象类都无不影响程序正常运行。