On Thursday, 27 June 2019 at 17:00:01 UTC, Rémy Mouëza wrote:
I though support for C++ allocation had improved. In a recent
release, there was the addition of core.stdcpp.new, but I
didn't try it out:
- http://dpldocs.info/experimental-docs/core.stdcpp.new_.html
- https://en.cppreference.com/
On Thursday, 27 June 2019 at 05:57:49 UTC, evilrat wrote:
On Thursday, 27 June 2019 at 05:37:08 UTC, ChangLoong wrote:
If I want call cpp class constructer without new method, is
there a way to do that ?
If what you really want is to actually allocate using C++ new
operator from D, then that
On Thursday, 27 June 2019 at 05:37:08 UTC, ChangLoong wrote:
If I want call cpp class constructer without new method, is
there a way to do that ?
If what you really want is to actually allocate using C++ new
operator from D, then that is very problematic and not portable
even across compilers
If I want call cpp class constructer without new method, is there
a way to do that ?
and also if the cpp api accept a delegate as parameter, how to
create one from d and pass to cpp ?