Ad hoc polymorphism
“Ad hoc polymorphism”即“特别多态”。关于“Ad hoc”,在后文中会有解释。
维基百科Ad hoc polymorphism
The term ad hoc in this context is not intended to be pejorative; it refers simply to the fact that this type of polymorphism is not a fundamental feature of the type system.
包括两种: