
1 Mar
2010
1 Mar
'10
2:10 a.m.
I cannot get the view_clone_allocator to work with associative containers, as
in the example below:
boost::ptr_vector<int> vec;
boost::ptr__map
From the error message, it seems that the CloneAllocator is still of type boost::heap_clone_allocator.
Why is this failing? It seems intuitive to specify the allocator as third parameter, similar to the example with ptr_vector where the allocator is the second argument. Matthias -- Matthias Vallentin vallentin@icsi.berkeley.edu http://www.icir.org/matthias