cpp_binder, a not-yet-useful tool for generating C++ bindings
Kagamin via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Tue Sep 22 07:46:21 PDT 2015
On Tuesday, 22 September 2015 at 11:04:17 UTC, Marc Schütz wrote:
> Can pragma(mangle, ...) be used on types? Then we can define a
> C/C++ compatible `HeadConst` template that simulates C/C++
> const semantics, while still being mangled correctly
I believe I've seen const declarations in C incorrectly declared
as head const when transitive const was really wanted, but it
wasn't done because transitive const in C is so much PITA. So the
only real concern here is mangling.
More information about the Digitalmars-d-announce
mailing list