<br><br><div class="gmail_quote">On Mon, Jul 6, 2009 at 5:42 PM, S.C. Leung <span dir="ltr"><<a href="mailto:shaochiliang@gmail.com">shaochiliang@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> No, where can I get the patch. Is it in the range_ex.zip?�<br></blockquote><div><br>It's attached in this thread in a previous post. It's not a patch for range because range correctly has protection against accidental ADL. If the problem is accidental ADL the defect is in Boost.Algorithm. I, however, cannot explain how a std::string would cause an ADL problem internally within a boost namespace. I simply provided the file to eliminate or confirm Thorsten's hypothesis.<br> <br>I'll send the file again to you at your email address. It needs to replace <boost/algorithm/string/find.hpp>.<br><br>Regards,<br>Neil Groves<br><br>�</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <br><div class="gmail_quote">2009/7/6 Neil Groves <span dir="ltr"><<a href="mailto:neil@grovescomputing.com" target="_blank">neil@grovescomputing.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div><div></div><div class="h5"> <br><div class="gmail_quote"><div>On Mon, Jul 6, 2009 at 3:22 PM, S.C. Leung <span dir="ltr"><<a href="mailto:shaochiliang@gmail.com" target="_blank">shaochiliang@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hello, Thorsten:<div><br></div><div>Have you test my case and had the same problem with me? Does it mean that the library should call the function explicitly?</div><div></div></blockquote></div><div><br>Did you try the patch for Boost.Algorithm that I supplied in my last post? This will confirm / deny accidental ADL as the cause.<br> <br>It is the next logical debugging step.<br>�</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><br></div><div>Thanks!</div><div> S.C. Leung<br> </div></blockquote><div><br>Regards,<br>Neil Groves<br>�<br>[...]<br></div></div><br> <br></div></div><div class="im">_______________________________________________<br> Boost-users mailing list<br> <a href="mailto:Boost-users@lists.boost.org" target="_blank">Boost-users@lists.boost.org</a><br> <a href="http://lists.boost.org/mailman/listinfo.cgi/boost-users" target="_blank">http://lists.boost.org/mailman/listinfo.cgi/boost-users</a><br></div></blockquote></div><br> <br>_______________________________________________<br> Boost-users mailing list<br> <a href="mailto:Boost-users@lists.boost.org">Boost-users@lists.boost.org</a><br> <a href="http://lists.boost.org/mailman/listinfo.cgi/boost-users" target="_blank">http://lists.boost.org/mailman/listinfo.cgi/boost-users</a><br></blockquote></div><br>