<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Thx all of you.<br>I actually did not include algorithm.h but since everything went fine with g++ I simply did never realize that something was missing.<br><br><hr id="stopSpelling">From: dave.partyka@kitware.com<br>Date: Thu, 8 Jul 2010 11:25:17 -0400<br>Subject: Re: [Paraview] vtkstd with VS2008 issue<br>To: stan1313@hotmail.fr<br>CC: paraview@paraview.org<br><br>Or<div><br></div><div>If you prefer to use vtkstd instead of vtksys (Don't ask me what is different between them). Did you include #include <vtkstd/algorithm> ?</div><div><br><div class="ecxgmail_quote">On Thu, Jul 8, 2010 at 11:15 AM, Dave Partyka <span dir="ltr"><<a href="mailto:dave.partyka@kitware.com">dave.partyka@kitware.com</a>></span> wrote:<br>
<blockquote class="ecxgmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>Use this instead.</div><div><br></div>#include <vtksys/stl/algorithm> // lower_bound<div><br></div><div> vtksys_stl::lower_bound(<br>
<br><div class="ecxgmail_quote"><div><div></div><div class="h5">On Thu, Jul 8, 2010 at 11:11 AM, Fred Fred <span dir="ltr"><<a href="mailto:stan1313@hotmail.fr">stan1313@hotmail.fr</a>></span> wrote:<br>
</div></div><blockquote class="ecxgmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">
<div>
Hello,<br>how to cope with the fact using vtkstd:: causes syntax errors on VS2008 while it works well on g++?<br><br> p = vtkstd::lower_bound(start, end, *it, vtkstd::less<double>());<br><br>error C2039: 'lower_bound' : is not a member of 'std'<br>
<br>                                            <br><hr>Votre vie privée l'est-elle vraiment ? <a href="http://clk.atdmt.com/FRM/go/232102478/direct/01/">Internet Explorer 8 vous protège gratuitement</a></div>
<br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>                                            <br /><hr />Envie de nouveauté ? <a href='http://www.windowslive.fr/nouveau-hotmail/' target='_new'>Le nouveau Hotmail arrive bientôt ! Préparez-vous !</a></body>
</html>