When is array-to-array cast legal, and what does actually happen?

bearophile bearophileHUGS at lycos.com
Wed Feb 24 16:26:44 PST 2010


Daniel Keep:
> [1] Except for int<->float.  Oh, and objects.  Really, this is one thing
> I could just about strangle K&R for: conflating value-preserving,
> non-value-preserving *AND* unsafe conversions all into a single
> construct.  Walter, gets slapped with a fish for not putting a bullet in
> cast's head when he had the chance.  Argh!

>From your idea I have written some comments here:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=106750

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list