www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - [SAOC 2023] C++ STL INTEROP - WEEKLY UPDATE #5

reply Emmanuel Danso Nyarko <emmankoko519 gmail.com> writes:
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.
Oct 20 2023
parent reply Imperatorn <johan_forsberg_86 hotmail.com> writes:
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
Oct 21 2023
parent Emmanuel Danso Nyarko <emmankoko519 gmail.com> writes:
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.
Oct 23 2023