Safe and C++

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Wed Nov 27 15:36:47 UTC 2019


On Wednesday, 27 November 2019 at 15:29:25 UTC, Dukc wrote:
> In the same way as C interfacing works with @safe (or @live). 
> We annotate the C function header properly. When that is not 
> enough, we make a @trusted wrapper that guards against misuse. 
> Of course the impementation of the wrapper is still vurnerable.

There is one difference though, C-frameworks are often designed 
to be used from other languages.

Anyway, probably a good idea to make a list of C++ framworks that 
one has to be able to support and figure out what the 
requirements are.




More information about the Digitalmars-d mailing list