Boost logo

Boost Users :

From: Bill Eidson (yg-boost-users_at_[hidden])
Date: 2002-06-28 14:54:24

std::vector< boost::shared_ptr<T> > TVec;

I want to write a function object to run std::for_each. to do somework
against members of
T and accumulate results in functor. My attempts have failed in VC7 with
memory errors in my operator() method.

struct fo
    bool operator()( boost::shared_ptr<T>& t )
      return true;

Thanks in advance


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at