Subject: Re: [boost] [ptr_container] ptr_vector across DLL boundaries
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2009-06-26 19:42:19
Robert Dailey skrev:
> Suppose I have a DLL that allocates a few objects and places them in a
> ptr_vector. I then pass this ptr_vector to my executable via a move
> operation (basically a swap, not a copy). The executable would keep the
> ptr_vector by value and eventually delete it when it falls out of scope.
I have checked in a new version in trunk that supports stateful
You may access the clone_allocator by
I prefer this to a constructor argument, since there are already so many
Let me know if this allows you to solve your problem.
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk