HN2
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
melony
on March 11, 2022
|
parent
|
context
|
favorite
| on:
CXX – safe interop between Rust and C++
Can D handle opaque C preprocessor defined types?
nicwilson
on March 11, 2022
|
next
[–]
yes, if it exists as a thing in the object file you can interoperate with it, with a few exceptions, e.g. diamond inheritance
WalterBright
on March 11, 2022
|
prev
[–]
The C preprocessor does not have types.
But things like `struct S *` with no definition of `S` are handled properly.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: