← Back to context

Comment by lerno

2 days ago

But it of course move semantics and destructors affect all things. If the goal is to call and be callable from C without special constructs, how would you make the C code respect the move semantics and destructors?

C++ is already callable from C, you can make functions have any call signature that you want. What is the actual problem?