Boost Users :
From: Paul Grenyer (pjgrenyer_at_[hidden])
Date: 2003-09-03 06:53:12
> > >for_each( v.begin(), v.end(), cout << *_1 << '\n' );
> >I get the following errors:
> That only makes sense with vector<int*>... as per the example, from
> I think you meant vp.begin() etc.
Yes, that's it! So what I actually wanted was:
for_each( v.begin(), v.end(), cout << _1 << '\n' );
That'll teach me copy code from two different examples without applying
my brain to it.
You can’t buy time, but you can sell your soul and the closest thing to
heaven is to Rock ‘n' Roll.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net