"重定义"是个多义词,它可以指重定义(《重定义》是回音哥的一张翻唱EP),重定义(C++的一种语法)。
此时,基类的函数被隐藏(注意别与重写混淆)。 一、三个基本概念 1、重定义(redefine):派生类对基类的成员函数重新定义,即派生类定义了某个函数,该函数的名字与基类中的函数名字一样。
基于606个网页-相关网页
为此,导入前述的模式以进行必要的重定义。
To do this, import the preceding schema to get the necessary redefines.
可以重用上述的重定义机制以避免修改现有的核心模式。
You reuse the redefine mechanism to avoid modifying the existing core schemas.
继而可以使用原型中的属性和函数,甚或重定义函数和属性。
You can then use the attributes and functions in your prototype, or even redefine the functions or attributes.
应用推荐