maybe this will do it for you.
 
 http://www.boost.org/doc/libs/1_39_0/boost/serialization/detail/stack_constructor.hpp
Robert Ramey

Thanks for mentioning it, but unfortunately that does not meet the requirements of the Allocator concept, such as the allocate() member function.

Cheers!
Andrew Hundt