C++ constructors, destructors and operator access

Iain Buclaw ibuclaw at ubuntu.com
Sun May 19 05:40:27 PDT 2013


On 19 May 2013 13:20, Igor Stepanov <wazar.leollone at yahoo.com> wrote:

> No.
>>
> Ok. As I know, there is running process to moving DMD front-end from C++
> to D. As I remember, process expect to be gradual. Thus I the same moment
> will be C++ classes and D classes in the frontend. How you are planning
> create new C++ objects from D? Are you planning add to all classes special
> "constructor" static method, which will create new instances of C++ classes
> and return it, or you see another way to do it?
>
>
All new'ing will be done in D.  The C++ glue-layer methods are a problem,
and we will be moving to using a visitor interface between the two.


-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130519/526f1e4d/attachment.html>


More information about the Digitalmars-d mailing list