[Issue 20805] C++ mangling mismatch with templates and namespaces
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Tue May 12 12:55:07 UTC 2020
    
    
  
https://issues.dlang.org/show_bug.cgi?id=20805
--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> ---
Simplified test-case:
```
extern (C++, `xdr`)
struct xvector(T)
{
}
extern (C++)
public void push_back1 (ref xvector!(xvector!ubyte), ref xvector!ubyte);
extern (C++)
public void push_back2 ()(ref xvector!(xvector!ubyte), ref xvector!ubyte);
void main ()
{
    xvector!(xvector!ubyte) vec;
    xvector!ubyte val;
    vec.push_back1(val);
    vec.push_back2(val);
}
```
--
    
    
More information about the Digitalmars-d-bugs
mailing list