Am 13.02.2015 um 19:40 schrieb Daniel Murphy:
Benjamin Thaut wrote in message
news:mzgymsfzrxbvffgcf...@forum.dlang.org...
There are currently two problems with binding c++ value types and c++
value type templates.
1. Semantics are somewhat different. Copying / constructor /
destructing /
Am 15.02.2015 um 13:59 schrieb Daniel Murphy:
Benjamin Thaut wrote in message news:mbq03u$2h5v$1...@digitalmars.com...
Well, it doesn't work for anything that is within an C++ namespace.
If I remove the Test namespace everything works as expected.
I think what you want is something along
Benjamin Thaut wrote in message news:mbq03u$2h5v$1...@digitalmars.com...
Well, it doesn't work for anything that is within an C++ namespace.
If I remove the Test namespace everything works as expected.
I think what you want is something along these lines:
D:
extern(C++, Test)
{
extern(D)
On 2/15/15 5:33 AM, Benjamin Thaut wrote:
Maybe this should be documented on the Interfacing to C++ page.
Pull request pliz pliz -- Andrei
Am 15.02.2015 um 17:25 schrieb Andrei Alexandrescu:
On 2/15/15 5:33 AM, Benjamin Thaut wrote:
Maybe this should be documented on the Interfacing to C++ page.
Pull request pliz pliz -- Andrei
Honestly, I'm currentyl preparing a really huge pull request for D (Dll
support for windows) and
There are currently two problems with binding c++ value types and
c++ value type templates.
1. Semantics are somewhat different. Copying / constructor /
destructing / operator overloading is a issue.
2. Only templates which are instantiated on the c++ side can be
used.
Now it would be nice
Benjamin Thaut wrote in message
news:mzgymsfzrxbvffgcf...@forum.dlang.org...
There are currently two problems with binding c++ value types and c++
value type templates.
1. Semantics are somewhat different. Copying / constructor / destructing /
operator overloading is a issue.
2. Only