dlang-community / stdx-allocator

Extracted std.experimental.allocator for usage via DUB
9 stars 20 forks source link

Why we use stdx.allocator.internal? #14

Closed 9il closed 6 years ago

9il commented 6 years ago

If we have any then I would move it to mir-core and add mir-core as a dependency.

wilzbach commented 6 years ago

Because emplaceRef is still not public in Phobos and this removed the dependency on std.conv entirely.

I'm aware of your std.backdoor trick and it's a neat solution too (though it still requires std.conv from Phobos).

If we have any then I would move it to mir-core and add mir-core as a dependency.

Sounds good to me too. When I split out the allocator from Phobos the main reason for the internal module was that std.conv changed over multiple DMD versions so one couldn't depend on it.

9il commented 6 years ago

Thanks!