
8 Feb
2006
8 Feb
'06
5:23 p.m.
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