--- In [email protected], "Paul Herring" <[EMAIL PROTECTED]> wrote: > > On Fri, Feb 22, 2008 at 2:56 AM, saurabh jain <[EMAIL PROTECTED]> wrote: > > Oops.... > > sorry found the mistake.... > > > > bool t = for_each(vi.begin(), vi.end, test(i)); // line 21 > > should be > > bool t = for_each(vi.begin(), vi.end(), test(i)); // aarrgghh.... > > Erm - what's the point of the 'bool t =' part of that statement?
Nothing!! Was trying to return a value. But in the process of debugging modified some code and the return value became obsolete. Regards, Saurabh
