Differing implementations for a function in two interfaces

Lionello Lunesu lio at lunesu.remove.com
Mon Apr 17 03:47:11 PDT 2006


Ryan Steen wrote:
> In article <e1vlef$21vv$1 at digitaldaemon.com>, Lionello Lunesu says...
>> #	IA ia = cast(IA)c;
>> #	IB ib = cast(IB)c;
> 
> Those casts are superfluous and dangerous.
> 
> 

You're right. I first typed the mail and included the casts for clarity, 
and only later made a source file out of it.



More information about the Digitalmars-d-learn mailing list