Using C++ Classes From D: dmd cannot link, while ldc segfault

mw mingwu at gmail.com
Mon Jun 19 05:54:28 UTC 2023


On Monday, 19 June 2023 at 05:46:13 UTC, Richard (Rikki) Andrew 
Cattermole wrote:
>
> On 19/06/2023 5:39 PM, mw wrote:
>> Then it will be very tedious, esp. for such library class 
>> std::list.
>
> Yes, you would also need to verify it with every compiler you 
> need (MSVC, vs linux gcc).
>
> There could be a reason why it isn't in 
> https://github.com/dlang/dmd/tree/master/druntime/src/core/stdcpp

Ha, I saw vector.d there, So I can use this vector.d as the D 
side of C++'s std::vector?




More information about the Digitalmars-d-learn mailing list