shared_ptr and multi_set

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