<div class="gmail_quote">On Fri, Mar 9, 2012 at 12:33 AM, Duncan Sands <span dir="ltr"><<a href="mailto:baldrick@free.fr">baldrick@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Chandler,<br>
<div class="im"><br>
> Fix a silly restriction on the fast-path for hash_combine_range.<br>
<br>
</div>is it really silly?  Hash functions shouldn't be modifying what they are<br>
hashing should they?<br>
<br>
Ciao, Duncan.</blockquote><div><br></div><div>Ah, but that's not what this change impacted. ;] That's what I *thought* i was doing when I first added this. The actual result is that this overload only matched pointers-to-const. pointers-to-non-const ended up calling the super slow iterator variation. And the first thing we do with these is cast them to const char* so we wont go scribbling on the bits.</div>
</div>