|
Boost Users : |
From: Robert Kubrick (robertkubrick_at_[hidden])
Date: 2008-06-10 21:22:10
I am having a memory error when accessing a shared_ptr in a multi_set
collection.
I caught this comment in the shared_ptr documentation:
int main()
{
std::vector<FooPtr> foo_vector;
std::set<FooPtr,FooPtrOps> foo_set; // NOT multiset!
...
http://www.boost.org/doc/libs/1_35_0/libs/smart_ptr/example/
shared_ptr_example.cpp
So I guess shared_ptr in multi_set are not supported?
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