Thread overview
[Issue 18896] extern(C++) template with class argument mangling
May 23, 2018
Manu
[Issue 18896] extern(C++) always mangles classes as pointer
Oct 22, 2018
Mathias LANG
Oct 22, 2018
Mathias LANG
Feb 19, 2020
Mathias LANG
Mar 25, 2021
Nicholas Wilson
May 23, 2018
https://issues.dlang.org/show_bug.cgi?id=18896

Manu <turkeyman@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |C++, industry
           Severity|critical                    |major

--
October 22, 2018
https://issues.dlang.org/show_bug.cgi?id=18896

Mathias LANG <pro.mathias.lang@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pro.mathias.lang@gmail.com
            Summary|extern(C++) template with   |extern(C++) always mangles
                   |class argument mangling     |classes as pointer

--
October 22, 2018
https://issues.dlang.org/show_bug.cgi?id=18896

--- Comment #1 from Mathias LANG <pro.mathias.lang@gmail.com> ---
Renamed to make it a bit more generic.
This is also a problem when `ref` is used for passing the class around.
E.g. `foo(MyClass&)` cannot be represented in D, which is very limiting.

--
February 19, 2020
https://issues.dlang.org/show_bug.cgi?id=18896

Mathias LANG <pro.mathias.lang@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ilyayaroshenko@gmail.com

--- Comment #2 from Mathias LANG <pro.mathias.lang@gmail.com> ---
*** Issue 19161 has been marked as a duplicate of this issue. ***

--
March 25, 2021
https://issues.dlang.org/show_bug.cgi?id=18896

Nicholas Wilson <iamthewilsonator@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |iamthewilsonator@hotmail.co
                   |                            |m
         Resolution|---                         |WONTFIX

--- Comment #3 from Nicholas Wilson <iamthewilsonator@hotmail.com> ---
this can be worked around by pragma(mangle, ...) now.

--