dpp
dpp copied to clipboard
Directly include C headers in D source code
Some projects are difficult to build...
It should be possible to get clang to parse a little cpp file that instantiates type according to instructions and get it that way.
Including that it's doing right thing with blobs and alignment
obviously we don't have multiple inheritance in d. but most important thing is to get the layout right. currently we have: ```c++ class Currency: Convention, public relational_operators {} ``` translated...
`static inline` functions don't generate symbols, as such they have to be implemented in D to be usable. example: ``` #include void main() { wl_registry *registry = wl_display_get_registry(display); } ```...
```c++ class A { bool operator_a() const; }; ```
The examples don't run on Travis right now because they fail - the older version of libclang there, even when installing the most recent one from apt, doesn't work the...
```c++ template struct Struct{}; template struct Struct { static constexpr auto value = 42; }; ```
```c++ template class T2 { enum { value = I }; }; ``` This static assert fails: ```d static assert(T2!2.value == 2); ``` The enum is set to 0 in...