6 Jun
2012
6 Jun
'12
4:46 p.m.
Hi all - Is there a way to use custom allocation while loading from an archive? I'm thinking like passing an allocator along with the archive during deserialization? Adding to this, is it possible to add a custom deleter to a shared_ptr during deserialization? I am thinking of using this with boost mpi, and if I send a shared_ptr over the wire with some kind of deleter, the same deleter object can't be used on the other side since it's in a different address space. Thanks, Brian