On 9/11/2015 4:26 PM, Jeremy DeHaan wrote:
>
> What is the correct way to use C++ class instances in D? Can you by
> chance give an example?
extern (C++) class X
{
...
}
extern (C++) void func(X x);
void main(string[] args)
{
func(new X());
}
etc