[Issue 20413] New: C++ mangling bug with templates & the std namespace
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Thu Nov 21 22:53:05 UTC 2019
    
    
  
https://issues.dlang.org/show_bug.cgi?id=20413
          Issue ID: 20413
           Summary: C++ mangling bug with templates & the std namespace
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: sahmi.soulaimane at gmail.com
Test case:
```
extern(C++, "std")
struct pair(T1, T2) {}
extern(C++)
void fun(pair!(int, float), pair!(float, int));
pragma(msg, fun.mangleof);
```
output: _Z3funSt4pairIifENS_IfiEE
expected: _Z3funSt4pairIifES_IfiE
--
    
    
More information about the Digitalmars-d-bugs
mailing list