
18 Mar
2008
18 Mar
'08
10:05 a.m.
Can I create Boost multi_array in shared memory using Boost.InterProcess..? Can some one explain as to how this can be done.? I tried providing the Boost InterProcess Allocator to the Boost multi_array but it gives the expected compiler error of casting an offset<ptr> to T* , when the multi_array tries to convert return type of the allocator allocate function(which is an offset<ptr>) to T*. Can this problem be overcome by writing a custom stl compatible allocator wrapper over the interprocess allocator? Regards, Sankar