Using the Standard Library with C++ Interop

Bastiaan Veelo Bastiaan at Veelo.net
Fri Feb 5 22:24:02 UTC 2021


On Friday, 5 February 2021 at 21:40:29 UTC, wolfiesnotfine wrote:
> In any case, I'm unsure how I would runtime init from C++. Is 
> there a specific function I should call?

https://dlang.org/phobos/core_runtime.html#.rt_init

> Could this be done at compile time in a consteval or constexpr 
> function?

This being the runtime, I presume it should be called at run time 
:-) I haven’t used it, but searching for rt_init should give you 
some pointers.

—Bastiaan



More information about the Digitalmars-d-learn mailing list