digitalmars.D - Why doesn't std.containers support std.experimental.allocator?
- Menshikov (3/3) Aug 25 2021 I have no ideas, it seems to me it could have been solved a long
- user1234 (11/14) Aug 25 2021 - std.containers existed before the allocators
- rikki cattermole (6/9) Aug 25 2021 Right now it is not passing its test suite.
I have no ideas, it seems to me it could have been solved a long time ago without breaking change. But what are the reasons why this does not happen?
Aug 25 2021
On Wednesday, 25 August 2021 at 21:04:37 UTC, Menshikov wrote:I have no ideas, it seems to me it could have been solved a long time ago without breaking change. But what are the reasons why this does not happen?- std.containers existed before the allocators - std.experimental.allocator * is in a ["freezed" state](https://forum.dlang.org/post/730a99d2-1043-19b7-551a-c6f57 90f422 erdani.org). it was asked not to use anymore * is experimental, so you cannot make non-experimental part of the library depends on it Alternatively you can use [emsi containers](https://code.dlang.org/packages/emsi_containers), which are based on the allocators.
Aug 25 2021
On 26/08/2021 12:21 PM, user1234 wrote:Alternatively you can use [emsi containers](https://code.dlang.org/packages/emsi_containers), which are based on the allocators.Right now it is not passing its test suite. Amin Yahyaabadi has recently been very good with the help of WebFreak and replaced the testsuite from Travis to Github Actions. However it is failing due to needing to update stdx-allocator and a bug with the unrolled linked list.
Aug 25 2021