[C++] Document usage of C++ types, limitations, and patterns #560
Labels
C.General
An issue which doesn't fit in the other categories (not blockchain related)
type-enhancement
An improvement of existing functionalities
Milestone
Currently we don't have a good documentation about what can, should, and shouldn't be done with
extern(C++)
types. Given there are a lot of technicalities involved, it would be good to have a rather extensive documentation.Such a documentation would introduce knowledge of constructs in D that are safe to use, as well as C++-specific knowledge, for example copy constructors, default constructors, constructors deletion, move constructors, non-representable types, etc...
That documentation is also very likely to be specific to the version of C++ we're using (there are some subtle differences between C++11, C++14 and C++17, and we're currently using the later).
Another note: The D documentation for C++ interfacing is wildly outdated...
The text was updated successfully, but these errors were encountered: