3 ms·
C has head const and it's pretty common in C code bases. From what I remember, D had transitive const and not head const, so how does ImportC deal with this now
by arunc 4y ago
C has head const and it's pretty common in C code bases. From what I remember, D had transitive const and not head const, so how does ImportC deal with this now?
Is head const now supported in DMD with ImportC?
https://dlang.org/articles/const-faq.html https://dlang.org/articles/const-faq.html