On 6-Apr-2007, Luis F. Ortiz wrote:
| 1) One of the methods patched is assign2(). It has the following
| signature:
|
| template <class LT, class RT>
| int
| assign2 (Array<LT>& lhs, const Array<RT>& rhs, const LT& rfv)
|
| This seems to me to be an attempt to support type conversions during the
| assignment.
| But the code I wrote only works for the case where RT and LT are the
| same type. What
| is the right way to handle this? Can it be done at
| runtime/compiletime?
| Is this ever instantiated with LT != RT?
Yes, see liboctave/Array-C.cc for example.
Uggh, you are right. This issue can not be ignored.