Hello, folks!

I'm on to a project, which requires manual memory management using custom allocators, but I can't seem to get dynamic arrays and associative arrays to work.

The std.conv.emplace only allocates the pointer and the size of the dynamic array and pointer to the associative array, which is half the issue.

I can work around the dynamic array by manually allocating the elements of the array and returning a slice to the result (although I'd be really glad if I could directly use arrays with my custom allocators).

The biggest problem is the associative array, the storage of which is completely hidden and implemenentation-specific, so I can't work around it the way I can with dynamic arrays.

How can I have an associative array, which uses a custom allocator?

--
Bye,
Gor Gyolchanyan.