[Issue 15970] C++ mangling of templated arg type

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 1 08:35:22 UTC 2017


https://issues.dlang.org/show_bug.cgi?id=15970

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Walter Bright <bugzilla at digitalmars.com> ---
In C++, class types are not reference types. In D they are, and D represents
the reference type as a pointer type when translating to C++.

The result is what you see, Symbol* instead of Symbol when looking at the C++
mangling.

This is working as intended.

--


More information about the Digitalmars-d-bugs mailing list