[Paraview] vtkstd with VS2008 issue
Dave Partyka
dave.partyka at kitware.com
Thu Jul 8 11:25:17 EDT 2010
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 <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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100708/85189104/attachment.htm>
More information about the ParaView
mailing list