On Sunday, 29 November 2015 at 11:29:58 UTC, Manu wrote:

Wow... I just didn't quite get there >_<
That's really horrible! But thanks! ;)

Sorry, my memory was failing me, I dug up the real source now, it was a while ago and I hacked around a lot before I got it working, this is what I ended up with.

private extern(C++, std)
{
public:
  int fun();
}

// autogenerate all aliases with 'static foreach'?
alias fun = std.fun;

Reply via email to