How to do "C++ classes"?

rempas rempas at tutanota.com
Sat Sep 18 15:38:38 UTC 2021


I'm seeing in the page about "BeterC" and in the part about the 
[retained 
features](https://dlang.org/spec/betterc.html#retained), the #11 
says about "COM classes and C++ classes". What are the "C++ 
classes"? I tried to create a class using "extern(C++)" but this 
didn't worked. Can someone make an example on that?


More information about the Digitalmars-d-learn mailing list