[Issue 14193] Provide a way to mangle a D struct as a C++ class.

2018-04-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14193 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 14193] Provide a way to mangle a D struct as a C++ class.

2015-02-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14193 --- Comment #4 from Benjamin Thaut --- That doesn't work. C++ does not have a concept of value types and reference types. D does. So you can't "simply" use classes as classes and structs as structs. --

[Issue 14193] Provide a way to mangle a D struct as a C++ class.

2015-02-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14193 --- Comment #3 from Sobirari Muhomori --- I mean, use classes for classes, structs for structs naturally. If dmd codebase is not ready for the task, that's a different problem :) --

[Issue 14193] Provide a way to mangle a D struct as a C++ class.

2015-02-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14193 Benjamin Thaut changed: What|Removed |Added CC||c...@benjamin-thaut.de --- Comment #2 from

[Issue 14193] Provide a way to mangle a D struct as a C++ class.

2015-02-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14193 --- Comment #1 from Sobirari Muhomori --- Though, this doesn't sound like a painless C++ integration. Clean support for C++ structs and classes would be better. --

[Issue 14193] Provide a way to mangle a D struct as a C++ class.

2015-02-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14193 Guillaume Chatelet changed: What|Removed |Added Keywords||C++ --