|
Scott Klement wrote:
...
Obviously there'd have to be SOME SORT of keyword on the prototype itself, otherwise you'd break backward compatibility. But I don't think she was suggesting that it require you to specify the from/to variable types.
There wouldn't necessarily have to be a new keyword. Currently, the cases where this would be needed are the cases that don't compile. Similar to the way CONST works, the compiler would only need to use this temporary when it would otherwise issue a diagnostic.
I'm of at least two minds on this - part of me thinks the compiler could just do it as needed, and part of me thinks there would need to be a keyword.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.