|
Boost : |
From: Fred Bertsch (fred.bertsch_at_[hidden])
Date: 2006-02-08 12:23:04
> Rather than yet another underdocumented shared pointer with
> subtly different name it should be:
>
> boost::shared_ptr<void, shmem::deleter> p = segment.allocate(1024);
Hopefully someone will correct me, but I don't think that shared_ptr
can have a custom allocator to allocate the reference count in the
shared memory.
-Fred
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk