Something needs to happen with shared, and soon.

Walter Bright newshound2 at digitalmars.com
Tue Nov 13 17:33:30 PST 2012


On 11/13/2012 3:43 PM, Alex Rønne Petersen wrote:
> FWIW, these are the types and type categories I'd expect shared load/store to
> work on, on any architecture:
>
> * ubyte, byte
> * ushort, short
> * uint, int
> * ulong, long
> * float, double
> * pointers
> * slices
> * references
> * function pointers
> * delegates
>

Not going to portably work on long, ulong, double, slices, or delegates.

(The compiler should issue an error where it won't work, and allow it where it 
does, letting the user decide what to do about the non-working cases.)


More information about the Digitalmars-d mailing list