
24 Nov
2010
24 Nov
'10
9:47 a.m.
On 23/11/2010 22:23, Aditya Gadre wrote:
Dear all,
I have a question about proper use of Boost.Interprocess for sharing custom C++ classes. I recently started using Boost.Interprocess and have been successful in sharing boost::array, std::vector<float>, std::vector< boost::array
> etc using boost::interprocess::managed_shared_memory and boost::interprocess::allocator.
You can't share std::vector, it contains raw pointers. You must use boost::interprocess:vector with boost::interprocess::allocator. Best, ion