Thread overview
[SAOC 2023] C++ STL INTEROP - WEEKLY UPDATE #5
Oct 21, 2023
Imperatorn
October 20, 2023

Hello everyone,
Started working through std:vector and I have implemented quite a number of bindings for runtime gcc. Bindings for std constructors to match the C++ mangling basically for vector(n) constructor was giving few issues due to rvalue references default parameter passing of allocator which is not supported in D. Despite the challenge, I have been able to match the mangling of vector(n) constructor and push_back functions and currently under tests so I can add more constructors and other functions as well.

October 21, 2023

On Friday, 20 October 2023 at 20:08:30 UTC, Emmanuel Danso Nyarko wrote:

>

Hello everyone,
Started working through std:vector and I have implemented quite a number of bindings for runtime gcc. Bindings for std constructors to match the C++ mangling basically for vector(n) constructor was giving few issues due to rvalue references default parameter passing of allocator which is not supported in D. Despite the challenge, I have been able to match the mangling of vector(n) constructor and push_back functions and currently under tests so I can add more constructors and other functions as well.

Will unordered_hashmap be working as well when you're done?

Just curious

October 23, 2023

On Saturday, 21 October 2023 at 08:10:15 UTC, Imperatorn wrote:

>

On Friday, 20 October 2023 at 20:08:30 UTC, Emmanuel Danso Nyarko wrote:

>

Hello everyone,
Started working through std:vector and I have implemented quite a number of bindings for runtime gcc. Bindings for std constructors to match the C++ mangling basically for vector(n) constructor was giving few issues due to rvalue references default parameter passing of allocator which is not supported in D. Despite the challenge, I have been able to match the mangling of vector(n) constructor and push_back functions and currently under tests so I can add more constructors and other functions as well.

Will unordered_hashmap be working as well when you're done?

Just curious

It is on the list so hopefully it will be working.