Or If you prefer to use vtkstd instead of vtksys (Don't ask me what is different between them). Did you include #include <vtkstd/algorithm> ?
On Thu, Jul 8, 2010 at 11:15 AM, Dave Partyka <dave.part...@kitware.com>wrote: > Use this instead. > > #include <vtksys/stl/algorithm> // lower_bound > > vtksys_stl::lower_bound( > > On Thu, Jul 8, 2010 at 11:11 AM, Fred Fred <stan1...@hotmail.fr> wrote: > >> Hello, >> how to cope with the fact using vtkstd:: causes syntax errors on VS2008 >> while it works well on g++? >> >> p = vtkstd::lower_bound(start, end, *it, vtkstd::less<double>()); >> >> error C2039: 'lower_bound' : is not a member of 'std' >> >> >> ------------------------------ >> Votre vie privée l'est-elle vraiment ? Internet Explorer 8 vous protège >> gratuitement <http://clk.atdmt.com/FRM/go/232102478/direct/01/> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://www.paraview.org/mailman/listinfo/paraview >> >> >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview