
Hello Martin, offset_ptr can be used in stack/heap if you want, You can use basic allocation algorithms in any memory. I don't know if any component is too tied with shared memory to use it in a message buffer. Please, write me explaining your case with a bigger picture and what do you really want from the framework (I mean STL allocators? Just buffer management algorithms?, etc... ). I will be glad to explain if you can use it and if it is useful and it is not possible right now, I could add it to the library. Regards, Ion ----- Original Message ----- From: "Martin" <adrianm@touchdown.se> To: <boost@lists.boost.org> Sent: Wednesday, March 09, 2005 1:11 PM Subject: [boost] Re: [shmem] Uploaded to Vault+documentation questions+misc
Is it possible to use the shmem allocator and offset_ptr without sharing memory?
I was thinking about using it to send complex structures in a message between processes. In my case the buffer could be static but in general I assume it could use new and maybe even be allowed to change size.