
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?