The cast(signed), cast(unsigned) feature proposal

Mrzlga bulletproofchest at gmail.com
Fri Jun 7 18:53:06 PDT 2013


Timothy,

How do you get everyone to use:
     a.Cast!Signed
     a.Cast!Unsigned
     a.Cast!Const
     a.Cast!Immutable
     a.Cast!Shared

And to stop using:
     cast(const)
     cast(immutable)
     cast(shared)
     cast(inout) ?

And have everyone be consistent about it?

Remove the cast() ones from the language?



And what about variations, 'shared const', 'inout shared', etc?

There are some things that should be available to the language, 
even when no modules are imported. I think dealing with the basic 
type system is like that.


More information about the Digitalmars-d mailing list