Interfacing D with C: Arrays and Functions (Arrays Part 2)
    Walter Bright 
    newshound2 at digitalmars.com
       
    Wed Apr 29 23:03:29 UTC 2020
    
    
  
On 4/28/2020 9:12 AM, Seb wrote:
> // Internal Compiler Error: type int[] cannot be mapped to C++
> 
> There have been multiple attempts to fix this, the latest one is 
> https://github.com/dlang/dmd/pull/8120.
> Now, that dmd comes with the (experimental) -H flag for C++ header generation, 
> maybe there's more interest in making D arrays/strings work seamlessly between D 
> and C++?
They're never going to work seamlessly between D and C++ because C++ does not 
have a standard compatible type for it. We discussed this at length at DConf 2019.
    
    
More information about the Digitalmars-d-announce
mailing list