shared_ptr and multi_set

10 Jun
2008
10 Jun
'08
7:22 p.m.
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?
6217
Age (days ago)
6217
Last active (days ago)
1 comments
2 participants
participants (2)
-
Peter Dimov
-
Robert Kubrick