[Paraview] vtkstd with VS2008 issue
Fred Fred
stan1313 at hotmail.fr
Thu Jul 8 18:16:17 EDT 2010
Thx all of you.
I actually did not include algorithm.h but since everything went fine with g++ I simply did never realize that something was missing.
From: dave.partyka at kitware.com
Date: Thu, 8 Jul 2010 11:25:17 -0400
Subject: Re: [Paraview] vtkstd with VS2008 issue
To: stan1313 at hotmail.fr
CC: paraview at paraview.org
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.partyka at 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 <stan1313 at 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
_______________________________________________
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
_________________________________________________________________
Messenger arrive enfin sur iPhone ! Venez le télécharger gratuitement !
http://www.messengersurvotremobile.com/?d=iPhone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100709/9082d12b/attachment.htm>
More information about the ParaView
mailing list