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.part...@kitware.com
Date: Thu, 8 Jul 2010 11:25:17 -0400
Subject: Re: [Paraview] vtkstd with VS2008 issue
To: stan1...@hotmail.fr
CC
Sorry missed reply to all
On Thu, Jul 8, 2010 at 11:17 AM, Aashish Chaudhary <
aashish.chaudh...@kitware.com> wrote:
> Did you include algorithm?
>
> #include
>
>
> On Thu, Jul 8, 2010 at 11:11 AM, Fred Fred wrote:
>
>> Hello,
>> how to cope with the fact using vtkstd:: causes syntax errors
Or
If you prefer to use vtkstd instead of vtksys (Don't ask me what is
different between them). Did you include #include ?
On Thu, Jul 8, 2010 at 11:15 AM, Dave Partyka wrote:
> Use this instead.
>
> #include // lower_bound
>
> vtksys_stl::lower_bound(
>
> On Thu, Jul 8, 2010 at 11:11 AM, Fr
Use this instead.
#include // lower_bound
vtksys_stl::lower_bound(
On Thu, Jul 8, 2010 at 11:11 AM, Fred Fred 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::les
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());
error C2039: 'lower_bound' : is not a member of 'std'