August 17, 2014 Re: C++ template name mangling | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On Saturday, 16 August 2014 at 22:15:12 UTC, Andrei Alexandrescu
wrote:
> Yes, it does (no multiple inheritance of implementation). We must get to the next level - support struct construction, copying, and destruction. -- Andrei
I spend a fair amount of time on that problem ~2 years ago. 2
problems:
- struct default constructor.
- struct with disabled postblit, must be able to use opAssign or
alike.
| |||
August 18, 2014 Re: C++ template name mangling | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | On 8/15/2014 12:53 PM, Walter Bright wrote: > But what is missing is name mangling to match C++ templates. I was perusing the source, and whaddayaknow, it already does C++ template mangling, at least for Linux! There are no tests in the test suite for this, and it gets it all wrong for ::std. But it's a good starting point to try things out. This should help move things forward: https://github.com/D-Programming-Language/dmd/pull/3873 | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply