immutable

Steven Schveighoffer schveiguy at yahoo.com
Wed Jan 26 13:12:50 PST 2011


On Wed, 26 Jan 2011 16:12:58 -0500, Robert <robert.welin at hotmail.com>  
wrote:

>
> I didn't expect the code to run, hence my question. I tried it on OSX  
> first which
> might have been the reason. Ran it on Ubuntu too and got the expected  
> segmentation
> fault.

The code shouldn't even compile.  But the segfault is OS dependent (as you  
discovered).  Windows also will not segfault.

-Steve


More information about the Digitalmars-d mailing list