Do the source and dest types need to match? How about:"CopyFrom"? As it is
right now you already have type parity between types such as floats <-
integer and string <- char, so why not between TBar <- TFoo?

class procedure TBar.CopyFrom(constref Source: TFoo; var Dest: TBar);

Then this begs question, what's the difference between AutoCopy/CopyFrom
and:

class operator TBar.Implicit(const Value: TFoo): TBar;
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to