[phobos] phobos commit, revision 1589

Andrei Alexandrescu andrei at erdani.com
Fri Jun 11 08:05:12 PDT 2010


It's a good question. I didn't want to add stuff to object.d without 
very solid reasons, and std.conv seemed to be a good place as emplace 
converts untyped memory to typed objects.

Andrei

Masahiro Nakagawa wrote:
> Sorry for the late reply.
> 
> Why std.conv? emplace seems to be fundamental function in D.
> I think druntime is better than std.conv.
> 
> 
> Masahiro
> 
> On Wed, 09 Jun 2010 02:20:45 +0900, dsource.org <noreply at dsource.org> 
> wrote:
> 
>> phobos commit, revision 1589
>>
>>
>> user: andrei
>>
>> msg:
>> Added file and line information to conversion errors; added brackets 
>> '[' and ']' around arrays and associative arrays as defaults; added 
>> emplace() for non-class types.
>>
>> http://www.dsource.org/projects/phobos/changeset/1589
>>
>> _______________________________________________
>> phobos mailing list
>> phobos at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/phobos
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos


More information about the phobos mailing list