
Ion, My appologies...I did not realize that typedef refers to boost::interprocess::vector instead of std::vector. So now I have this new question - what would one need to do in order to share his/her custom C++ classes. Thanks, - Aditya On 11/24/2010 04:47 AM, Ion GaztaƱaga wrote:
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 _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users