Who says we can't call C++ constructors?
    Uknown 
    sireeshkodali1 at gmail.com
       
    Tue Apr 24 12:27:30 UTC 2018
    
    
  
On Tuesday, 24 April 2018 at 11:19:59 UTC, Atila Neves wrote:
> On Monday, 23 April 2018 at 20:40:47 UTC, Manu wrote:
>> On 23 April 2018 at 07:27, Atila Neves via 
>> Digitalmars-d-announce <digitalmars-d-announce at puremagic.com> 
>> wrote:
>>> On Saturday, 21 April 2018 at 18:11:09 UTC, Manu wrote:
>>>>
>>>> On 21 April 2018 at 05:41, Atila Neves via 
>>>> Digitalmars-d-announce 
>>>> <digitalmars-d-announce at puremagic.com> wrote:
>>>>>
>>>>> [...]
> Sure.
>
> I thought about generating D wrappers for everything, but in 
> TDD fashion I tried slapping a pragma(mangle) on the copy 
> constructor and things just worked. Odd then that dmd doesn't 
> try to correctly mangle constructors and destructors since 
> they're perfectly callable.
>
> [...]
This is very cool. Is it possible to fix the mangling issues in 
DMD for Copy constructors and destructors? It seems like it would 
be less code for dpp, and better C++ interop for D in general.
    
    
More information about the Digitalmars-d-announce
mailing list