Fwd: Interfacing with C++

Shriramana Sharma via Digitalmars-d digitalmars-d at puremagic.com
Tue Nov 4 06:08:34 PST 2014


On 11/4/14, Daniel Murphy via Digitalmars-d <digitalmars-d at puremagic.com> wrote:
>> Now from the http://dlang.org/cpp_interface I find out the current
>> status of built-in C++ interfacing support. I'm working on Linux so
>> using the COM support is not an option for me (whatever COM may be!).
>
> That page is out of date.  Support has improved significantly since then.
>
>> 2) Is there any further work underway to implement support for static
>> and non-virtual class member functions? Or is this not at all
>> possible? If so, why?
>
> Work is complete.  IIRC it was in the last release, you might need to grab
> master/an alpha for very latest stuff.  Special member functions
> (dtor/operators) generally don't work.

So I'm using latest dmd 2.066.1 on an i386 machine. Does it have the
latest functionality which you refer to? And what is the syntax to
support static and non-virtual member functions?

Thanks!

-- 
Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा



More information about the Digitalmars-d mailing list