C++ interop - class vs struct

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Thu Sep 11 00:42:41 PDT 2014


"Lionello Lunesu"  wrote in message news:luriec$1081$1 at digitalmars.com...

> and/or?
>
> pragma(cpp_mangle_as_class)
> struct Bar
> {
> }

Yeah.  No need to add new syntax, and it means adding a way to make D link 
with C++ rather than adding C++ features to D. 



More information about the Digitalmars-d mailing list