<div class="gmail_quote">On 19 February 2012 18:31, Stewart Gordon <span dir="ltr"><<a href="mailto:smjg_1998@yahoo.com">smjg_1998@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 19/02/2012 15:26, Manu wrote:<br>
<snip><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
There is code that assumes size_t is the width of the pointer, and other code that assumes<br>
size_t is the width of the native int.<br>
</blockquote>
<snip><br>
<br>
How does it do that?<br>
<br>
Indeed, how does code rely on the concept of native int at all?</blockquote><div><br></div><div>You can't imagine any situation where you might want to know how big an int is?</div><div>Anything from calling convention code, structure layout/packing, copying memory, basically optimising for 64bits at all...</div>
<div>Turn that question around... if you don't know the size of a native int, how do you propose you take advantage of it?</div></div>