Inferred Type for Explicit Cast

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Sat Dec 20 18:47:53 PST 2014


On 12/20/14 5:20 AM, Dicebot wrote:

> I'd like to have a cast where you must define both "from" and "to" types
> precisely.

I was actually thinking the same thing. This would be almost 
future-proof (any changes to either side would result in failed 
compilation).

-Steve


More information about the Digitalmars-d mailing list