[Issue 16479] Missing substitution while mangling C++ template parameter for functions
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jan 6 18:51:58 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=16479
kinke <kinke at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kinke at gmx.net
--- Comment #11 from kinke <kinke at gmx.net> ---
Possibly related:
```
extern (C++, std)
struct pair(T1, T2) {}
extern (C++)
void func_20413(pair!(int, float), pair!(float, int));
```
actual: _Z10func_20413St4pairIifEStS_IfiE
expected: _Z10func_20413St4pairIifES_IfiE
A C++ string namespace `extern (C++, "std") struct pair(T1, T2) {}` works as
expected (testcase from https://issues.dlang.org/show_bug.cgi?id=20413).
--
More information about the Digitalmars-d-bugs
mailing list