Integer conversions too pedantic in 64-bit

Adam Ruppe destructionator at gmail.com
Tue Feb 15 14:43:04 PST 2011


Daniel Gibson wrote:
> Probably it would be helpful if size_t was a proper type that can't
> be mixed with other types in dangerous ways without explicit casting.

Bad idea: once you insert an explicit cast, you now have a *hidden*
bug on the new platform instead of a compile error.


More information about the Digitalmars-d mailing list