Time to kill T() as (sometimes) working T.init alias ?
Walter Bright
newshound2 at digitalmars.com
Thu Nov 29 19:21:24 PST 2012
On 11/29/2012 3:59 PM, Mehrdad wrote:
> On Thursday, 29 November 2012 at 03:24:40 UTC, Walter Bright wrote:
>> The original idea is that there should be *no such thing* as default
>> construction of a struct as being anything other than T.init. The
>> default construction of a struct should be a compile time creature,
>> not a runtime one.
>
>
> Why?
So copying them is always an unsurprising bit copy.
More information about the Digitalmars-d
mailing list