<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 1 April 2014 21:50, Michel Fortin <span dir="ltr"><<a href="mailto:michel.fortin@michelf.ca" target="_blank">michel.fortin@michelf.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 2014-04-01 05:39:04 +0000, Manu <<a href="mailto:turkeyman@gmail.com" target="_blank">turkeyman@gmail.com</a>> said:<br>

<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The point is, it's impossible to bank on pointers being either 32 or 64<br>
bit. This leads to #ifdef's at the top of classes in my experience. D is<br>
not exempt.<br>
</blockquote>
<br></div>
Doesn't align(n) work for class members? If it does not, it doesn't seem it'd be hard to implement.</blockquote><div><br></div><div>The point is to eliminate the wasted padding by rearranging structure members appropriately. Since the amount of padding may be different between arch's, the layout often needs tweaking.</div>
</div></div></div>