Tail pad optimization, cache friendlyness and C++ interrop

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 10 17:27:27 PDT 2014


On Tuesday, 10 June 2014 at 20:50:46 UTC, Walter Bright wrote:
> On 6/10/2014 12:30 AM, deadalnix wrote:
>> thought ?
>
> This does not apply to D structs because D structs do not 
> inherit.
>
> C doesn't have classes, so no issues there.
>
> extern(C++) class should match the C++ ABI for this.
>
> extern(D) class we are free to innovate with the layout.
>
> I suggest turning this into a bugzilla enhancement request.

I'm talking about structs, not classes.


More information about the Digitalmars-d mailing list