Overloading opCast with multiple types

J Duncan jtd514 at nospam.ameritech.net
Tue Oct 3 11:54:06 PDT 2006


Stewart Gordon wrote:
> Please see my proposal
> 
> http://tinyurl.com/p2pn4
> 
> It's very similar to your idea, but makes use of "cast", which is 
> already a keyword, to be treated differently from ordinary function names.
> 
> Stewart.
> 


I like that idea. Does anyone know what Walters long term plans are 
regarding the casting operator? It seems to me that a single cast 
operator is extremely lacking. So does anyone know if this is just 
temporary or does Walter not see a need for multiple casting operators?



More information about the Digitalmars-d mailing list