FWIW, SmallVector.h is part of LLVM, and so should be discussed on that mailing list. Leaving cfe-dev on the line so those who saw the initial mail can follow along.<br><br><div class="gmail_quote">On Mon, Jun 4, 2012 at 2:14 PM, Will Wilson <span dir="ltr"><<a href="mailto:will@indefiant.com" target="_blank">will@indefiant.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
<br>
Just a quick question regarding SmallVector.h: It seems the interfaces<br>
use a mixture of size_t, size_type and unsigned. Building on Win64<br>
this causes numerous implicit conversion warnings when accessing<br>
anything by index. Is there any design/performance reason for this or<br>
can it be changed so the interfaces in question make consistant use<br>
size_type (currently typedef'd to size_t)?<br></blockquote><div><br></div><div>I think SmallVector should be specified entirely in terms of size_type (and it should be typedef'd to size_t as it is currently), but let's see if others have opinions on this.</div>
</div>