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 <[email protected]> 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
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos

Reply via email to