| | Intelligent Enterprise Magazine - C.J. Date (Site not responding. Last check: 2007-10-23) |
 | | Note carefully that, unlike "result covariance," "argument contravariance" must be made explicit (by defining explicit specializations of the operator in question), because it refers to the declared types of parameters to such specializations. |
 | | As I said last month, result covariance is presumably so called on the grounds that the most specific type of the result "covaries" with the most specific type of the argument. |
 | | In any case, the type of the result can "covary" even if the argument type remains fixed (remember the EORC example from the last installment), or even if there are no explicit arguments at all (imagine an operator that returns a circle on weekdays but just an ellipse at weekends). |
| www.intelligententerprise.com /000818/date.jhtml (1727 words) |