On Thursday, 29 November 2018 at 17:12:28 UTC, kinke wrote:
On Thursday, 29 November 2018 at 16:24:58 UTC, bauss wrote:
Are there no support for references with mangling in D?
Like what about int&?
Of course, that's `ref int`. But a `ref CppClass` is
C++-mangled as `CppClass* &`.
I was
On Thursday, 29 November 2018 at 16:24:58 UTC, bauss wrote:
Are there no support for references with mangling in D?
Like what about int&?
Of course, that's `ref int`. But a `ref CppClass` is C++-mangled
as `CppClass* &`.
On Wednesday, 28 November 2018 at 13:42:43 UTC, Nicholas Wilson
wrote:
On Wednesday, 28 November 2018 at 13:13:40 UTC, bauss wrote:
Well unfortunately I cannot control the C++ side of things,
but I assume that it'll work properly with extern(C++) so I
guess I will just go ahead and try and see
On Wednesday, 28 November 2018 at 13:42:43 UTC, Nicholas Wilson
wrote:
On Wednesday, 28 November 2018 at 13:13:40 UTC, bauss wrote:
Well unfortunately I cannot control the C++ side of things,
but I assume that it'll work properly with extern(C++) so I
guess I will just go ahead and try and see
On Wednesday, 28 November 2018 at 13:13:40 UTC, bauss wrote:
Well unfortunately I cannot control the C++ side of things, but
I assume that it'll work properly with extern(C++) so I guess I
will just go ahead and try and see if everything works out. I
have access to the C++ source so at the
On Wednesday, 28 November 2018 at 10:44:05 UTC, Nicholas Wilson
wrote:
On Wednesday, 28 November 2018 at 07:22:46 UTC, bauss wrote:
If I have a class from D.
How would you use that class in C++?
Like what's the correct approach to this.
Would it work just by doing "extern(C++)" or will that
On Wednesday, 28 November 2018 at 07:22:46 UTC, bauss wrote:
If I have a class from D.
How would you use that class in C++?
Like what's the correct approach to this.
Would it work just by doing "extern(C++)" or will that only
work for D to use C++ classes?
If you have
foo.d
class Foo
If I have a class from D.
How would you use that class in C++?
Like what's the correct approach to this.
Would it work just by doing "extern(C++)" or will that only work
for D to use C++ classes?