February 17, 2004 class export | ||||
---|---|---|---|---|
| ||||
Can I export D class like C++ class?
--
- Jester
|
February 22, 2004 Re: class export | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jester | > Can I export D class like C++ class?
Strictly, yes, in so far as you can export, in D, a function that creates an instance of a given interface just as you can in C++.
However, I suspect that you mean can you export a D class to be used in C++. That is not possible, though it can implement an interface that can be used directly in C++
|
Copyright © 1999-2021 by the D Language Foundation