On Tuesday, 14 October 2014 at 22:27:35 UTC, Walter Bright wrote:
On 9/29/2014 3:00 AM, Szymon Gatner wrote:
Hi,

recently there is much talk about extending C++ interop in D but it is unclear to me what that means. Functions and virtual class methods are already callable. What else is planned in the near future? Exceptions? Support for C++ templates?
(that seems difficult no?).

Currently, D supports C++:

* function calling
* name mangling
* namespaces
* templates
* member functions
* single inheritance
* basic types that exist in C++ but not D (like 'long')


I do understand current situation tho I admit I am not aware of the "single inheritance". Does it mean that one can derive in D from a C++ class (don't see it in the docs)?

Essentially, we're going to see how far we can push interop.

I suppose that is the answer I was looking for, time will tell yes? :)

Reply via email to