|
Boost Users : |
From: James Mastro (jmastro_at_[hidden])
Date: 2003-11-13 12:57:07
On Nov 12, 2003, at 10:09 PM, Darryl Green wrote:
> std::list< boost::shared_ptr<MyObject> > * objectList;
>> An uninitialized pointer to a list of shared pointers to MyObject is
>> probably not what you wanted, but its what you defined.
The actual code looks like
std::list< boost::shared_ptr<MyObject> > * objectList =
GetObjectList();
>> I don't think you bug has anything to do with shared pointers...
Correct. I think display of the value in the debugger was causing it to
die.
-jim
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